I received a comment from a client the other day stating that the plain
text email generated by their site (using cfmail) no longer looks like
plain text when they get it (this is after an upgrade to CFMX). Huh???

After digging into things a bit, I found that cfmail now uses
Content-Type: text/plain; charset=UTF-8 for plain text emails. CF5 used
Content-Type: text/plain; charset="us-ascii". When the email is viewed
in Outlook, the encoding causes it to render a bit differently:

UTF-8: http://www.riseinteractive.com/UTF-8.gif
us-ascii: http://www.riseinteractive.com/us-ascii.gif

Adding the following solved the issue:
<cfmailparam name="MIME-Version" value="1.0" />
<cfmailparam name="Content-Type" value="text/plain; charset=us-ascii" />

This leads me to the question - Is there a reason to leave it as UTF-8
encoding? Or can I switch the charset to us-ascii and not worry about
it?

TIA,
chris


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to