Blekk Posted December 5, 2006 Share Posted December 5, 2006 Hi,I don't know if this fits under this category but I was testing how to send with php mail() and in the $message I put, something like:[code]<p style="color:#000000; font-size:10px;">Hello</p>[/code]But when I recieve the email in Live Messenger, all I get is not a black word at size 10 but actually the html code aswell.[quote]<p style="color:#000000; font-size:10px;">Hello</p>[/quote]Just like it was in the php document.Anyone know why?Thanks,Any reply is appreciated. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted December 5, 2006 Share Posted December 5, 2006 You'll need to send these headers as well: [code]MIME-Version: 1.0Content-type: text/html; charset=iso-8859-1[/code] (note that you can of course change it to another character set/encoding) Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted December 7, 2006 Share Posted December 7, 2006 a page I fell in love with pretty damn quick[url=http://alistapart.com/articles/cssemail]http://alistapart.com/articles/cssemail[/url] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.