Store contents of <CFMAIL> into CLOB database field
Hi All,
I have a requirement where I have to store the contents of my <cfmail> body text into a clob database field. Does anyone know how I can go about achieving this ? My cfmail could contain certain variables, cfincludes and maybe even cfif's in the body content.
Below is a extract of one of my <cfmails> any help would be much appreciated.
<CFMAIL>
<strong>LOST ID REQUEST</strong>
<p>
Your ID is: <strong>#attributes.PK#</strong>
</p>
<p>
To login to the system, go to: <a href="http://www.blah.com">www.blah.com</a>
</p>
<p>
<cfinclude template="include.cfm">
</p>
<p>
Regards<br />
George<br />
</p>
<p>
(email generated #DateFormat(now(),"dd-mmmm-yyyy")# at #TimeFormat(now(),"h:mm tt")#)
</p>
</CFMAIL>
