I think cferror may be limited as to what you can put in the error template,
my memory is quite rusty but I think this is to avoid you causing an error
in the error template.
how about if you set error.cfm as the default error template in the cfadmin,
does it work then ? I know this method has no restrictions and you can do
whatever you like in the error template.


On Tue, Aug 16, 2011 at 7:51 PM, Nathan Chen <[email protected]> wrote:

>
> Hi,
>
>
>
> In my application.cfm I have:
>
> <cferror
>
> template="error.cfm"
>
> type="exception"
>
> exception="any">
>
>
>
> In my error.cfm page I have some friendly text for end users and plus
> this:
>
> <cfmail to="[email protected]" from="[email protected]" subject="CF
> Error Occurred: " type="html">
>
> Text for myself here.
>
> </cfmail>
>
>
>
> I haven't even placed any #error.variable# insde the cfmail yet but the
> result is that error.cfm gets displayed but wouldn't send out email to
> me, and the mail.log on Admin doesn't record it. There is nothing in the
> mail spool folder either.  If I take the above cfmail portion and place
> them in a separate cfm and run it, it does send out email. That means
> the connection between this CF server(CF 8) and my organization's mail
> server is ok.
>
>
> Can anyone tell me if there is a syntax error here?
>
>
>
>
>
> Nathan
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346801
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to