Have the e-mail come back to an address you pick up with cfpop.. then parse the e-mail for keywords.. such as 'Undeliverable' and 'not deliver' and 'delivery failure' and 'quota'.. and 'transient delivery failure' etc...
-Zine -----Original Message----- From: Python Python [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:51 PM To: CF-Talk Subject: Removing bad emails from newsletter db Oops, i guess i do not make myself clear. I dont need to hangle those cfmail that goest o the undeliverable folder of CF, i need to handle those returned emails that bouces when the user does not exist(Errors returned by SMTP server, like 550, user unknow, mailbox full and so on). BP. >Blood, > >It's fairly straight forward to code yourself. > >You can access the undeliverables folder using CFDIRECTORY and then >parse the messages for the e-mail address that bounced and use that to >update the database. > >If on MX I suggest using server.coldfusion.rootDir etc. to locate the >undeliverable folder etc. > >On CF5 and Windows you can use CFREGISTRY etc. > >Note: the .cfmail file formats are different from CF5 to CFMX. > >Also, if you want to re-spool messages in CFMX you need to rename the >file and restart the CF's mail spool service...which is technically >possible to do programmatically using yet more undocumented functions. > >André > >-----Original Message----- >From: Blood Python [mailto:[EMAIL PROTECTED] >Sent: 28 May 2003 16:40 >To: CF-Talk >Subject: Removing bad emails from newsletter db > >One of my client's has about 103k people in his mailing list. He's >running >his website since 99 and many of these e-mails are bad ones. > >He wants me to remove the bad e-mails from this list. I used to do that >using a software called worldcast, from fairlogic (www.fairlogic.com). >It >uses DNS to validate e-mails, pretending to send an e-mail and stopping >just >after he got the 250 code (user exists) or 550 (unknow). > >Unfortunatly, many networks are not allowing DNS sends, because of spam, >so >it its not a good solution anymore. I will need to build a tool that >interprets the returned e-mails from an actual send (those Undeliverable > >e-mails) and delete the user based on this e-mail's content. > >Do you guys knows any software or code that do such thing? Doesn't need >to >be in cf... I will need to code it myself if i don't find something like > >that to use, because client needs it very bad (he needs to reduce >bandwidth >costs). > >Thank you for your repplies in advance. > >BP. > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4