send the emails out with the email address in the body of the text the FIRST time. Then on bounces grab the to email address from there
On Thu, 25 Oct 2001, Michael Gribbin wrote: > Hi all, > > I have an interesting problem I need help with. I have a client that sends > out around 5000 emails from a master list once a week. About 500 per session > are returned as undeliverable. I am writing a program to grab the returned > email from the POP server, strip out the email addresses and ftp the > resulting "bad" list to a different server for master list cleaning. > > I don't have any problems with the CFPOP getting the emails, nor the CFFTP > putting the list where it belongs. My problem is that most of the returned > emails have the original "TO: Email Address" in an attatchment. When I view > these emails in my Outlook Express, the attatchment shows up as part of the > message body. When I download them with CFPOP and view them as HTML, these > attatchments shows up as part of the message body. When I INSERT them into > an Access database using the same CFQUERY as the HTML display, and the same > #query.body#, the part of the message body that was the attatchment won't > show up. Only the part of the message body that is not in the attatchment is > there. > > Kind of defeats my intentions if I can't grab the original "TO: Email > Address". > > Any help will be appreciated, > > Michael Gribbin > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

