Art Broussard wrote:
> So what I want to do is have the errors emailed to me when something breaks. I
> know that you cant use cfmail in an error page so is there any other way to do
> this to make sure I get an email? I was thinking of making the error page use
> a meta refresh to a page I can use cfmail on but I'm not sure if thats the
> best idea or if it will work.
You can use CF tags in the page set to handle exception types.
Add a line to point to a template in your applciation.cfm page
<cferror type="exception" template="error.cfm">
And then add cfmail tag in that error page.
--
If you have to choose the lesser of two evils then maybe its time to
think about rephrasing the question.
email: [EMAIL PROTECTED]
web: http://www.pixelgeek.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists