> I tried putting a CFMail tag in the error_page.cfm file, but that > doesn't do it
I am not sure..if you can use CFMAIL in the exception handler page. try prefixing variables with "cferror." However..this is what i have done.. put the code try-catch-exception handler.. and you can email the exception... something like <cftry> <cfinclude template="fbx_switch.cfm"> <cfcatch <cfmail ....> #cfcatch.type# #cfcatch.message# #cfcatch.detail# </cfmail> </cftry> cfcatch.tagcontext you can use tagcontext to do a stack trace as well. Joe > -----Original Message----- > From: Tim Laureska [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 15, 2002 9:57 AM > To: CF-Talk > Subject: CFerror > > > This must be easy but..... if I have reference to an error display page > in the application.cfm file such as: > <cferror type="request" template="error_page.cfm" > mailto="[EMAIL PROTECTED]"> > > how can I get an email sent to the administrator with the error details? > > Tim Laureska > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm