Tony... do you mean something like below? This is the application.cfm code: <!--- code for sending error message to web developer----> <cferror type="exception" template="error_admin.cfm" EXCEPTION="Any" mailto="[EMAIL PROTECTED]">
<!--- code for person viewing web page---> <cferror type="request" template="error_page.cfm" mailto="[EMAIL PROTECTED]"> This table code displays in the browser and the cfmail code below that is what comes to you <TR> <TD class="menu1b"> CF logged the following error information: <cfoutput>#error.Diagnostics#</cfoutput> <cfoutput> <UL> <LI>Error occurred on <B>#DateFormat(Now())#</B> at <b>#TimeFormat(Now(),"h:m tt")#</B> <LI>IP Address of Page Viewer was <b>#CGI.Remote_Addr#</b> <LI>Viewers Browser: <b>#http_user_agent#</b> <LI>Page error was generated: #error.template# <LI>URL Query string of Client's request: #error.QueryString# </UL></cfoutput> </TD> </TR> <cfmail from="[EMAIL PROTECTED]" subject="Code Error Report" to="[EMAIL PROTECTED]" type="html"> Error Date/Time: #DateFormat(Now())# at #TimeFormat(Now(),"h:m tt")#<p> Viewers Browser: #http_user_agent#<p> Page error was generated: #error.template#<p> URL Query string of Client's request: #error.QueryString#<p> #error.diagnostics# </cfmail> -----Original Message----- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 8:57 AM To: CF-Talk Subject: error template snippet hi there. just trying to throw together a good error template to email me when any page on our site experiences and error, does anyone have a good set of code that would include some good error information that I could snag? thanks. tony tony weeg sr. web applications architect navtrak, inc. [EMAIL PROTECTED] www.navtrak.net office 410.548.2337 fax 410.860.2337 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 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