Jump to content

Using HTML and CSS in an email


Blekk

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/29546-using-html-and-css-in-an-email/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.