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:

Squares instead of spaces (2001) syntax question, not in online refernce (1997) Diners Club card problems (1999) Re[2]: 2nd WebCatalog2 Feature Request (1996) Assigning new CART number (1997) code to phantom spacing (2001) IE, Layers, and Select (2002) Requiring that certain fields be completed (1997) IIS4b2 and WebCatalog b19 (1997) Zeroing out shipping costs (2000) [WebDNA] find missing file in [listfiles] (2019) Searchable archives gone again??? (2000) WCS Newbie question (1997) Re:Emailer and encryption (1997) PCS Frames (1997) Fwd: Problems with Webcatalog Plug-in (1997) SiteGuard Use Question (1997) can WC render sites out? (1997) need to delete a database remotely (2000) [WebDNA] Need to get off! (2008)