add a FAILTO attribute to your <cfmail> tag and specify an email address to send failure notifications to. make sure the account you specify is NOT used for anything else - create a new bounce@ account or something like that if necessary. use <cfpop> or cf's exchange server integration tags/functions to check that email account for new messages, get the headers and process as necessary. keep in mind that not every reply/message that goes into that account may be a failure due to invalid address. sometimes you get failures because recipient's inbox is full, or due to network problems.
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 08/06/2009 19:35, Paul Ihrig wrote: > hey guys > > question > i ran a cfmail over the weekend to 37,000 customers. in exchange i got 507 > "Delivery Status Notification (Failure)" > any one know of a quick and dirty way to grab just the email address of the > returned email, with out opening each message and coping and pasting > i need to remove the bounced users from future mails,... > > also is there a programatic way to capture the info and slap it into a table > next time? > how do you guys deal with this? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323230 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4