Can somebody explain to my why cfmail does not work within an error
template?


In application.cfm:

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

Then the error template.
<!--- I am the error template --->

<html>
<body>
<cfmail to="#error.mailto#" from="[EMAIL PROTECTED]" subject="Exception
Error" type="html">


GeneratedContent: #error.GeneratedContent#<br>
HTTPReferrer: #error.HTTPReferrer#<br>
DateTime: #error.DateTime#<br>
Diagnostics: #error.Diagnostics#<br>
Template: #error.Template#<br>
Browser: #error.Browser#<br>


RemoteAddress: #error.RemoteAddress#<br>
QueryString: #error.QueryString#<br>

</cfmail>
<h2>Site Error Encountered</h2>
<p>It appears you have encountered a site error. This has been reported and
will be worked on as soon as possible.</p>
</body>
</html>

It appears to display the cfmail, rather than processing it which makes
error reporting a bit difficult.

Can anybody help?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to