Problem with Shared POP script
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54618
interpreted = N
texte = Hi all,Is anyone using the Shared POP script to capture email?We built a customer service system that keys on the "to" field of inboundemails to "thread" correspondence. (We send outbound email with a uniquenumber in the from and reply-to fields so when we receive the reply, we canstrip down the "to" field until all that remains is the unique number.)Here's the problem:The 'to" field is isolated from the header using this code:[text]to=[include file=getline.inc&find=To:&data=[url][header][/url]][/text]Getline.inc contains:[text]result=[middle startafter=[url][find][/url]][data][/middle][/text]As you can see, it is searching for "To:" in the email header, which worksmost of the time... Unless the "Reply-To:" field comes first. Then thescript finds the "To" in "Reply-To" and finds the sender's address from thereply-to field.Anyone have a suggestion on how I can differentiate "find=To:" from"find=Reply-To:"?Thanks!Ph. -------------------------------------------------------------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:
Hi all,Is anyone using the Shared POP script to capture email?We built a customer service system that keys on the "to" field of inboundemails to "thread" correspondence. (We send outbound email with a uniquenumber in the from and reply-to fields so when we receive the reply, we canstrip down the "to" field until all that remains is the unique number.)Here's the problem:The 'to" field is isolated from the header using this code:[text]to=[include file=getline.inc&find=To:&data=[url][header][/url]][/text]Getline.inc contains:[text]result=[middle startafter=[url][find][/url]][data][/middle][/text]As you can see, it is searching for "To:" in the email header, which worksmost of the time... Unless the "Reply-To:" field comes first. Then thescript finds the "To" in "Reply-To" and finds the sender's address from thereply-to field.Anyone have a suggestion on how I can differentiate "find=To:" from"find=Reply-To:"?Thanks!Ph. -------------------------------------------------------------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:
Upgrading old WebCat Database Files (1997)
SSL/Document Contains NO Data (1998)
best way to check against old cart #s (1999)
record locking (2000)
help testing quicktime delivery (1997)
Bad match! (2002)
authorizenet and netscape (2002)
Help- Linux Install Serial number not taling. (2000)
Requiring that certain fields be completed (1997)
Multiple catalog databases and showcart (1997)
Help! WebCat2 bug (1997)
PIXO support (1997)
Error Lob.db records error message not name (1997)
Review comparison by PC Magazine: Open for On-lineBusiness (1997)
WCS Newbie question (1997)
Weird search results ?? (2002)
WebCat on Intel Core 2 macs anyone? (2007)
[WebDNA] Authorize working connection... (2020)
listfiles-looking for slick solution (1997)
WebCatalog can't find database (1997)