views:

375

answers:

1

Hello,

I want to create a html email and I've read a lot about how to do it. There is one piece of information I can't find. How should I declare the mime type? I tried with:

meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

but it doesn't work.
Later edit:
I am trying to set the content-type of the mail to text/html but I don't know how. All this when writing from a regular email client. I have to declare it in the mail body? Or in the mail header (if so, how do I o it?)?

+1  A: 

Are you trying to set the content-type declaration within the message header sent to the mail server? If so, you should set it this way, in a line itself:

Content-Type: text/html; charset=UTF-8
Konamiman
How can I do that, when I am in a normal mail client, as gmail,or yahoo?
sica07
You can't. I've never seen a webmail client that allows custom HTML input (and rarely seen a desktop client).
David Dorward