Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87055

Re: CFINCLUDE inside CFMAIL

$
0
0

Try this (usually at this point I'd have two versions, HTML and plaintext):

 

<cfsavecontent variable="content"><cfinclude template="content.cfm"></cfsavecontent>

<cfmail to="#user.email#" from="sender@somewhere.com" subject="Message from #sender_name#" type="html">

  <cfmailpart type="html">#content#</cfmailpart>

</cfmail>

 

Also wrap content.cfm inside <cfoutput></cfoutput>


Viewing all articles
Browse latest Browse all 87055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>