Hi,
In my cfcatch, I am trying to set up an email of cfdump of all session variables. However, the email received is hard to read. All the cfdump formatting is lost. I have tried the following two methods:
Does anyone know how to properly use cfdump inside a cfmail?
Thank you in advance.
Min
In my cfcatch, I am trying to set up an email of cfdump of all session variables. However, the email received is hard to read. All the cfdump formatting is lost. I have tried the following two methods:
Code:
<cfmail...>
<cfdump var="#session.transaction#">
</cfmail>
Code:
<cfsavecontent variable="dumpVariable">
<cfdump var="#session.transaction#">
</cfsavecontent>
<cfmail ...>
#dumpVariable#
</cfmail>
Does anyone know how to properly use cfdump inside a cfmail?
Thank you in advance.
Min