Posted by Chris H on 04/01/06 09:57
so then the mail function should look like this?
mail("$admin_email", "$subject", "$msg", "From: $email \nReply-To: $email
\nMIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1");
"Carl Vondrick" <usenet@carlsoft.net> wrote in message
news:GppXf.7350$4L1.1893@newssvr11.news.prodigy.com...
> Chris H wrote:
>
>> This has been driving me nuts and i didnt have a whole lot of luck
>> finding
>> the info on google either, maybe i was just not querying it correctly..
>> anyway
>>
>> I would like to have my mail sent & received as HTML formatted, is there
>> some special type of header or mime type that needs to be set in the
>> mail() function.. And if so what would be the correct format for doing so
> Make the headers this:
>
> MIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1
>
> Then HTML will work.
[Back to original message]
|