How do I catch server response when an email is accepted for delivery?


-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 9:06 AM
To: CF-Talk
Subject: Catching errors and emailing


Sorry, forgot to mention that I use this code in a sitewide error handling
template so every error on the site gets emailed to me, even ones in a
CFTRY/CFCATCH. On a related note, don't use CFTRY/CFCATCH to handle known
errors. Handle the error directly!

><cfmail to="" from="" subject="Error: #Error.Type#" type="HTML">
>       <CFDUMP var="#error#" label="error">
>       <CFDUMP var="#form#" label="form">
>       <CFDUMP var="#url#" label="url">
>       <CFDUMP var="#CGI#" label="CGI">
>       <CFIF IsDefined('session')><CFDUMP var="#session#" 
> label="session"></CFIF>
>       <CFIF IsDefined('application')><CFDUMP var="#application#"
label="application"></CFIF>
></cfmail>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212011
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to