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:

Extended [ConvertChars] (1997) emailer error -108 (1997) WebMerchant Problem (1999) RE: new cart IDs being assigned somehow (1997) Word search (1997) A question on sub-categories (1997) Limitations on fields? Server is crashing (1997) Leap of Faith (2001) A few questions. . . (1997) Where is f2? (1997) Where is f2? (1997) Error handling for accountNum (1997) Coding Standards - are there any ? (2003) test (2008) RE: OK, here goes... (1997) variables in [addlineitem] (1998) [WebDNA] Upload file to mysql (2017) wierd crashes for multi-sendmails on NT (1997) Sort on time (2003) Dummy Credit Card Number for debug? (1997)