That not only didn't break, but cfmx rendered a proper utf-8-headered text/html 
mailpiece from it.  Thanks!  Now I have to see whether this has any effect on CF 4.5x 
generated mail.  One way or another its a solution.

Cheers,

-------------------------------------------
 Matt Robertson,     [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------


---------- Original Message ----------------------------------
From: "Matthew Walker" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Tue, 25 Mar 2003 14:54:11 +1200

>This seems to work: <cfset ContentValue="text/html; charset=iso-8859-1">
>
>-----Original Message-----
>From: Matt Robertson [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, 25 March 2003 2:49 p.m.
>To: CF-Talk
>Subject: RE: CFMAIL frying on content type assignment?
>
>Matthew wrote:
>>Try "ISO-8859-1" - MX seems to be a bit fussy about that in 
>>some areas.
>
>Nope.  Same error.  Good idea, though.  If I remove the code it works fine.
>Am I doing something obviously wrong here with regard to the encoding?  I'll
>have to check but I could swear this code has been in place for awhile and
>running fine.  The only thing I can figure is different is Updater 3.
>
>-------------------------------------------
> Matt Robertson,     [EMAIL PROTECTED]
> MSB Designs, Inc. http://mysecretbase.com
>-------------------------------------------
>
>
>---------- Original Message ----------------------------------
>From: "Matthew Walker" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>date: Tue, 25 Mar 2003 14:31:59 +1200
>
>>Try "ISO-8859-1" - MX seems to be a bit fussy about that in some areas.
>>
>>-----Original Message-----
>>From: Matt Robertson [mailto:[EMAIL PROTECTED] 
>>Sent: Tuesday, 25 March 2003 2:33 p.m.
>>To: CF-Talk
>>Subject: CFMAIL frying on content type assignment?
>>
>>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
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to