cffaq.com


Hosted and maintained by Ben Forta. Designed by Trilemetry.
Language:
    © 2002-2007 Ben Forta. All Rights Reserved  
<Home> <FAQ> <Question> <About>

Question

Is it possible to generate an e-mail message with both text and HTML versions in the same message?
This is possible as of ColdFusion MX 6.1 via the new <CFMAILPART> tag. The following code snippet demonstrates the use of this new tag:
<CFMAIL TO="..." FROM="..." SUBJECT="...">
   <CFMAILPART TYPE="text">
   This is the text version.
   </CFMAILPART>
   <CFMAILPART TYPE="html">
   <B>This is the HTML version.</B>
   </CFMAILPART>
</CFMAIL>

Comments


Add Your Comments

Your Name:
Your E-Mail:
Comment:
Verification: Copy the text on the left:

<submit question>