> 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">
When using TYPE="REQUEST", you can't use any CFML tags or functions within your error page. If you want to use CFML tags or functions within your error page, you might want to use the site-wide error handler, or CFERROR with TYPE="EXCEPTION". Also, the EXCEPTION attribute is invalid when using CFERROR with TYPE="REQUEST". Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

