Re: Problem with Shared POP script

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54622
interpreted = N
texte = > What if you ran the getline.inc file twice, the first time looking for > Reply-To: and the second time looking for To: > If get the same email back them maybe you could try searching for " To:" > Or could you just search for the " To:" to begin with. Perhaps > searching for the extra space could be what you are looking for to begin > with. > Try this: > > [text]to=[include file=getline.inc&find=[url] > To:[/url]&data=[url][header][/url]][/text] That might well work... But I ended up using Jesse's suggestion and put a grep search/replace in the [text] tag where the header is saved as a text variable. I changed "Reply-To" to "Reply-XX" which eliminates the problem and doesn't effect the character count, which WC uses under certain conditions. [text show=t]header=[grep search=Reply\-To:&replace=Reply-XX:][getchars start=1&end=[math][numChar]-[countchars][body][/countchars][/math]][middle startafter=%0D%0A&endbefore=%0D%0A.%0D%0A][result][/middle][/getchars][/grep ][/text] Seems to work! Thanks Jesse! ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem with Shared POP script ( Jesse Proudman 2003)
  2. Re: Problem with Shared POP script ( Phil Herring 2003)
  3. Re: Problem with Shared POP script ( Matthew A Perosi 2003)
  4. Re: Problem with Shared POP script ( Jesse Proudman 2003)
  5. Problem with Shared POP script ( Phil Herring 2003)
> What if you ran the getline.inc file twice, the first time looking for > Reply-To: and the second time looking for To: > If get the same email back them maybe you could try searching for " To:" > Or could you just search for the " To:" to begin with. Perhaps > searching for the extra space could be what you are looking for to begin > with. > Try this: > > [text]to=[include file=getline.inc&find=[url] > To:[/url]&data=[url][header][/url]][/text] That might well work... But I ended up using Jesse's suggestion and put a grep search/replace in the [text] tag where the header is saved as a text variable. I changed "Reply-To" to "Reply-XX" which eliminates the problem and doesn't effect the character count, which WC uses under certain conditions. [text show=t]header=[grep search=Reply\-To:&replace=Reply-XX:][getchars start=1&end=[math][numChar]-[countchars][body][/countchars][/math]][middle startafter=%0D%0A&endbefore=%0D%0A.%0D%0A][result][/middle][/getchars][/grep ][/text] Seems to work! Thanks Jesse! ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Phil Herring

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[tcpconnect] doing nothing (2001) [WebDNA] Triggers Failing (2008) off topic - dna snipets (1997) Emailer (WebCat2) (1997) Getting total number of items ordered (1997) I'm Baaaaaaaaaack - Questions! (2000) Upgrading old WebCat Database Files (1997) LookUp Tag (1997) Database Fields (1997) 2.0 Info (1997) WebCat2 Append problem (B14Macacgi) (1997) Just Testing (1997) Multiple prices (1997) Attn: Bug in GeneralStore example b15 (1997) Replace with Producteditor.tpl (2000) Multiple Newcarts (1996) PCS Emailer's role ? (1997) Search Engines (2002) Renaming users local files with WebDNA based solution (1969) [WebDNA] Subtotal of SKU's that begin with ... (2009)