can you put cfm commands on a cferror page?

application.cfm:
<cferror type="REQUEST" template="error.cfm"
mailto="[EMAIL PROTECTED]">

error.cfm
<cfmail to = "gavin" subject =
"ERROR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!">
AN ERROR HAS OCCURED AT:
#error.datetime#
#error.remoteaddress#
#error.browser#
#error.template#
#error.querystring#
</cfmail>

if i do this, the contents of the cfmail just show up and doesnt send out an
e-mail to me


thanks,
Gavin
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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