This content has been marked as final. Show 4 replies
I presume you are using a ColdFusion page. You need <CFOUTPUT>#name#</CFOUTPUT>
The website is in CF, but the newsletter is in HTML and saved to the
database. I need it to merge, with the coldfusion which is sending the
emails, to produce the name and the html email that is inserted.
Here is what I have. The campaign.html is an html email that I need to merge
with the database to include the name.
Just need to figure how to put the #name# into the HTML so coldfusion first
evaluates the html and then the name inside of it.
<cfmail from="#campaign.emailfrom#" to="#mailist.email#"
<cfoutput>#campaign.html#<br /><br />
Your name has been provided to Ave Maria School of Law by the Law School
Admissions Council Candidate Referral Service.<br />If you wish not to
receive future communications, <a
href=" http://www.avemarialaw.edu/mailings/optout.cfm?email=#mailist.email#&name=#mailist.name#"> please
You could modify the HTML email to insert a distinctive placeholder for the name. For example:
Then use Replace() to replace the string [[NAME]] with the appropriate name in campaign.html (which is just a long string). Then send the revised text as the body of your email.
Yeah, thanks. I got that same answer and it works like a charm.