Hi,
I am trying to populate my cfmail body by pulling the info from a MSSQL text field.
cfmail looks like this:
The data in the text field looks like:
My problem is, the email arrives but the variables are not populated. For example Hi #FName# looks just like that as opposed to Hi JohnDoe.
It acts like it ignores the ##.
Any suggestions?
I am trying to populate my cfmail body by pulling the info from a MSSQL text field.
cfmail looks like this:
Code:
<cfmail to="#Email#" from="#specemail#" subject="Your specs file" type="html">
#getspecfilemessage.emailtext#
</cfmail>
The data in the text field looks like:
Code:
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="600" align="right" bgcolor="##122F69"><img src="[URL unfurl="true"]http://www.xxx.com/emailhdr.jpg"></td>[/URL]
</tr>
<tr>
<td width="600"><br>
<br>
Hello #FName#,<br>
<br>
Thank you for your inquiry. Your spec file is attached. If you would like a dealer to contact you, please <a href="[URL unfurl="true"]http://www.xxx.com?id=#lastid#">click[/URL] here</a>.
<br><br>
If I can be of further assistance to you, please don't hesitate to contact me.<br>
</tr>
</table>
My problem is, the email arrives but the variables are not populated. For example Hi #FName# looks just like that as opposed to Hi JohnDoe.
It acts like it ignores the ##.
Any suggestions?