PDA

View Full Version : email in html



chechu
09-01-2007, 10:28 PM
Hey guys,
How can emails be sent in html, instead of plain text ?

alexjewell
09-02-2007, 12:28 PM
I'm guessing you're using PHP or some other server side language to accomplish this?

You want to set the headers.

Content Type: text/html

chechu
09-02-2007, 07:04 PM
I have no idea how to do it, so if you could let me know in detail, from the start, please ?

eleven82
09-04-2007, 04:34 PM
I've done it where I made a HTML page and put it on my sever. Everything has to be absolute links (images, text links... http://www.website.com). The CSS has to be in the headers of the page. Then I copied and pasted it into the email and sent the message. You will definitely want to test this before you sent out an email blast. There are services out there that will email the message for you, some as low as 5 cents an email. At work we use a program called Mach 5, which I don't know how much it costs. But the process is the same. Build your page, upload to a server and send. You may also want to consider doing RSS Feeds so you don't get marked as spam.

*Note you may not want to use gradients because they don't render that well through emails. *