Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can cfmailparam change the encoding of an HTML cfmail?

Status
Not open for further replies.

dimsis

Programmer
Aug 6, 2000
76
GR
Can i change the encoding of an HTML mail, sended with cfmail (for example to Greek Windows?)
I've read about cfmailparam with CF Server 4.5 but i haven't found how to do this..
 
Hi Dimsis,

I beleive any Mail Header information can be changed with CFMAILPARAM. IS this the variable you're talking about?

If you have Outlook you can open an Email and goto view/options and in a small scrolling box will be the actual mail header. You can scroll through and see not only what the variables are but what the different values can be.

For instance. Here are 2 lines from the bottom of a mail header.

Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

to set these with CFMAILPARAM you would use.

<CFMAILPARAM name=&quot;Content-Type&quot; value=&quot;text/plain; charset='ISO-8859-1'&quot;>
<CFMAILPARAM name=&quot;Content-Transfer-Encoding&quot; value=&quot;7bit&quot;>

So if you have another way of sending an Email to yourself with the parameters that you want, then check the header to see how it set those parameters.

Hope it helps.




 
You may have some &quot;fun&quot; finding the HTML charachter set... This one works for french...

charset=UTF-8
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top