House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Who encodes characters in mails sent by ColdFusion

Author:
Claude Schneegans
01/06/2009 03:44 PM

>><cfmail charset="ISO-8859-1">...</cfmail> Yes, but this is just to specify the charset of the body of the message, it will not force any encoding of the headers. The body can be in in iso-8859, but not the headers, they should be in plain ASCII. >>I'm not sure if that attribute existed on CF5 though. It does not, but <CFMAILPARAM NAME="Content-Type" VALUE="text/html; charset=ISO-8859-1"> does the job. >>I believe CF encodes the message before saving it to a file in an outgoing mail spool folder. Apparently, it does not. If my messages headers are encoded, it is a gratuity from my outgoing server from my provider. But the mail server on my production server doesn't provide this service. Never mind, I ended up with writing my own encoding function, and it works. This is weird however that no one seemed to have this problem before, I found nothing in CFlib.org


Search cf-talk

March 21, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31