Now sure how far this goes to answering the original question, but there's a little-used feature fo CFMAIL that allows you to get some error handling from CFMAIL that Lucas Sherwood described in his presentation to WebDU last year.
You can use the attibute spoolenable="no" in the CFMAIL tag to trigger an error in the event your email is not delivered to the mail server. This does not give you an error if the email is a valid email but the recipient doesnt exist, but it does throw an error for lots of other reasons which you can trap. If you put your CFMAIL tag inside a TRY/Catch set you can trap teh error and display it or put it in a database or even email it to youself. (Thanks Lucas for another gem!) -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 3/28/07, Barry Beattie <[EMAIL PROTECTED]> wrote: > > regarding CF failing to connect to a proper mail server, is there a > trappable event or error raised? I'm thinking of notifications (SMS even, > server dashboard, etc) as well as different logic. > > how about undeliverable mail - another event to trap? > > thanx > b > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---