Jason Rogoz wrote: > The application is breaking during the looping of the email addresses and > sending an email to each one. I can see the error in the application log of > the server as well. Is there anyway to test the email addresses in question > to see if they are in fact valid or being rejected? > > There's a few CF and Javascript-based email validators out there. One I use is cf_ValidEmail. You should be able to find it on the DevEx on Adobe's site.
You might consider surrounding your mail call with <cftry><cfcatch>, with a mail tag set to send to you when an error occurs, with the email that hiccuped in the alert email. That way, the loop won't just break - it'll just skip over any offending email addresses, and you'll get those addresses in emails yourself. Or just have your code create a blank text file before the loop starts, and append error-causing email addresses onto that text file as it encounters errors (agian, inside the <cfcatch> area). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267033 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

