Sure is possible. If <cferror type="REQUEST"> then no, but if <cferror
type="EXCEPTION">
then yes.

> -----Original Message-----
> From: Critter [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 20 September 2002 3:42 p.m.
> To: CF-Talk
> Subject: Re[2]: Possible to send out mail for CFerror..?
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> oi Matthew!!
> 
> I  don't  believe  it  is possible for CFML code to be placed in an
> error template, except the error
> variables.
> 
> 
> - -- 
> Critz
>  Macromedia Certified Advanced ColdFusion Developer
>  <CFX_BotMaster Network="Efnet" Channel="ColdFusion">
> 
> 
> 
> 
> - ------------------------------------
> Thursday, September 19, 2002, 11:20:14 PM, you wrote:
> 
> MW> Use something like <cferror type="Exception" TEMPLATE="error.cfm"
> EXCEPTION="Any">>
> MW> and then put cfmail in that template. Be careful not to write
> code that
> MW> could cause an error in here though or you could bring down the
> server.
> 
> >> -----Original Message-----
> >> From: han peng [mailto:[EMAIL PROTECTED]]
> >> Sent: Friday, 20 September 2002 3:23 p.m.
> >> To: CF-Talk
> >> Subject: Possible to send out mail for CFerror..?
> >> 
> >> 
> >> Hi all.. is it possible to configure CFError to send out a 
> >> mail to administrator automatically.. when user hits an error.?
> >> 
> >> 
> >> i tried putting cfmail inside CFerror codes... 
> >> but unsuccessful.... 
> >> 
> >> 
> >> please advice..
> >> 
> >> han
> >> 
> >> 
> MW>
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to