I could swear it didn't used to do this prior to Updater 3, but I'm not sure. In my
cfmail messages, I set the following variable:
<cfset ContentValue="text/html; charset=" & chr(34) & "iso-8859-1"&Chr(34)>
so I can in turn plug it in to this cfmailparam:
<cfmailparam name="Content-Type" value="#variables.ContentValue#">
Fine and dandy. Unfortunately I'm now finding this is blowing up on CFMX. I get:
The cause of this output exception was that: java.io.UnsupportedEncodingException:
"iso-8859-1".
Is anyone else setting cfmail content type successfully in cfmx? Whats everyone else
doing? Here's what a typical cfmail statement looks like:
<cfset variables.ContentValue="text/html; charset=" & chr(34) & "iso-8859-1" & chr(34)>
<cfmail
to="[EMAIL PROTECTED]"
from="[EMAIL PROTECTED]"
server="mail.blah.com"
subject="blah blah blah"
type="HTML">
blah
<cfmailparam name="X-Mailer" value="BlahMail">
<cfmailparam name="Reply-To" value="[EMAIL PROTECTED]">
<cfmailparam name="Message-ID" value="<#CreateUUID()[EMAIL PROTECTED]>">
<cfmailparam name="Content-Type" value="#variables.ContentValue#">
<cfmailparam name="Mime-Version" value="1.0">
</cfmail>
-------------------------------------------
Matt Robertson, [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4