> But it is not allowed to set an cfmail tag in a error > handling template.
This depends on your CFERROR tag. If you use CFERROR with TYPE="REQUEST", you can't have any CFML tags or functions in your error handler, including CFMAIL. If you use CFERROR with TYPE="EXCEPTION", you can have whatever code you want in your error handler. Ideally, you'll use CFERROR TYPE="EXCEPTION" to catch any unhandled exceptions across your application. You may use CFERROR TYPE="REQUEST" to show a message to the user if your error handler itself generates an error. That's about all CFERROR TYPE="REQUEST" can do, without relying on client-side scripting to call another page to run error-handling functionality. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222839 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54