sica07 0 Newbie Poster

Hello,

I am trying to create a html-email. I've read that in order to render the html content corectly I have to set the content-type of the mail to text/html but I don't know how. Ho to do 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 do it?)? I tried with:

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

placed in the body of the mail (with the rest of the html code) but it doesn't work. It displays as plain text (displaying all the html tags).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.