If you use <CFERROR Type="Exception"> rather than "Request" (the default
value), you can execute any CF commands in the Error template, including the
<CFMAIL> tag.

> -----Original Message-----
> From: Peter Alexandrou [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 29, 2000 5:13 PM
> To: CF-Talk
> Subject: CFERROR Usage
>
>
> Hi guys,
>
> I haven't used <CFCERROR> before so would appreciate a little
> help with it.
> I am using it in my application.cfm file as advised and all is
> working with
> my error handling page.  Thing is, I want an e-mail to be sent to
> the site's
> webmaster when an error occurs.  The CFERROR tag includes a
> mailto attribute
> but this isn't sending out e-mails.  This seems to only make the variable
> available to the error handling page which is quite useless in my eyes.
>
> Since no CF code is executed in an error handling page, does
> anyone have any
> ideas?  I would prefer to stick with <CFERROR> rather than use CFTRY and
> CFCATCH exception handling.
>
> Regards,
>
> Peter Alexandrou
> Technical Leader
>
> tapestry communications : www.tapestry.net.au
> level 4, 32 walker street
> north sydney NSW 2060 australia
>
> phone : +61 2 9929 7400
> mobile : +61 411 445 111
> e-mail : [EMAIL PROTECTED]
>
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to