Tom:
There may well be an error in your CFMAIL code or settings. When an error
is generated inside of a CFERROR error handler, an error is thrown that
cannot be caught with TYPE="Exception." It can only be caught by
TYPE="Request" which does not allow the use of CFML. So you should do two
things:
1. Change your Application.cfm to look like:
<CFERROR TYPE="Exception" TEMPLATE="error.cfm" MAILTO="[EMAIL PROTECTED]">
<CFERROR TYPE="Request" TEMPLATE="fatalError.cfm">
2. Debug your CFMAIL code/settings based on the gray-box CF error that is
currently being shown.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -----Original Message-----
> From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 10:18 AM
> To: CF-Talk
> Subject: cferror
>
>
> I'm reading
> http://livedocs.macromedia.com/cfmxdocs/Developing_ColdFusion_MX_A
> pplications_with_CFML/Errors6.jsp#1126158
> with regards to placing a site wide handler in Application.cfm.
> To this end, I've got
> <cferror type="Exception"
> template="error.cfm"
> mailTo="[EMAIL PROTECTED]"
> >
> after the cfapplication tag.
>
> This all works fine, till I use cfmail in the error page, then I
> get just the
> normal coldfusion gray error box on the page, and no email sent.
>
> What up ?
> The page clearly says that type="Exception" will allow you to use
> all CFML
> tags etc.
>
> --
> Tom C
>
> Don't do what people tell you to do, trust your heart.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4