thx, I'm not sure what is going on.. it started to work again after I reverted 
back to the original files before I started messing with it.  WEIRD!  Thanks 
guys!

-----Original Message-----
From: Mike Chabot [mailto:mcha...@gmail.com] 
Sent: Thursday, January 28, 2010 1:34 PM
To: cf-talk
Subject: Re: cferror / cfmail issue


Since you say that the E-mail does not get sent I would assume you
have an error in your error handler. Try simplifying the error E-mail
to send "hello world" to see if that works. If that works, build up
the code incrementally until it breaks.

Check all your log files to get hints on what the secondary error is.

The suggestions made by Qing Xia seem good.

-Mike Chabot

On Thu, Jan 28, 2010 at 2:41 PM, Tim Do <t...@wng.com> wrote:
>
> We just upgraded to cf9 and my error handling is no longer working the way it 
> used to.  In my application.cfm I have:
>
> <cferror type="request"
>            template="errorPage.cfm"
>            mailto="webmas...@wng.com">
>
> and within errorPage.cfm I have:
> <cfmail to="webmas...@wng.com" from="webmas...@wng.com" subject="InSite Error 
> Log" type="HTML" server="#Variables.sEmailServer#">
>    Error:<br>
>            <cfdump var="#error#" label="Error message">
>            Session:<br>
>    <cfdump var="#session#" label="Session scope"><br>
>            Client:<br>
>    <cfdump var="#client#" label="Client scope"><br>
>            Application:<br>
>            <cfdump var="#application#" label="Application scope"><br>
>            Request:<br>
>    <cfdump var="#request#" label="Request scope"><br>
>            Form:<br>
>    <cfdump var="#form#" label="Form scope"><br>
>            Url:<br>
>    <cfdump var="#url#" label="URL scope"><br>
>            Cookie:<br>
>    <cfdump var="#cookie#" label="Cookie scope"><br>
> </cfmail>
>
>
> The page error shows up fine with my error notice, BUT the cfmail section it 
> just displays :
>
> Error:
> Session:
>
> Client:
>
> Application:
>
> Request:
>
> Form:
>
> Url:
>
> Cookie:
>
> Without the variables, and the email does not go out.  Why would it display 
> the code inside of the cfmail tags instead of sending??  All other cfmail 
> tags work fine throughout the site.
>
> Thanks!
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330247
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to