Pretty easy, and fun too, in MX.
<cfcatch ...>
<cfmail to... from.. ect>
<cfdump var="#cfcatch#">
</cfmail>
</cfcatch>
The same thing will work in other version, but I don't remember when cfdump
came along? 5? MX? If you don't have the dump, you'll just have to do a bit
more work, writing your own output of the Cfcatcah structure.
--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA
-----Original Message-----
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 9:57 AM
To: CF-Talk
Subject: This should be easy
Heylo
Im using a cftry - cfcatch sort of thing for the first time, and I want to
email myself the error message that gets produced... How do you do this?
TIA,
Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Host with the leader in ColdFusion hosting.
Voted #1 ColdFusion host by CF Developers.
Offering shared and dedicated hosting options.
www.cfxhosting.com/default.cfm?redirect=10481
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4