PDA

View Full Version : Sending HTML email??


SpeedFreak
08-15-2003, 03:21 PM
hey,

for a project i am working on i want to send some HTML email.
Now i know about the mail() function in PHP, do i just use this to send html mail? or do i need to use a different function?

Thanks.

Spookster
08-15-2003, 04:10 PM
You will still use the mail() function but you just need to add the proper headers for sending HTML in your email and then put the HTML in the body of the message.

SpeedFreak
08-15-2003, 05:32 PM
what are the correct headers for HTML mail?

Thanks

EDIT: found them, for anyone wondering, they are here: http://www.php.net/manual/en/function.mail.php about 1/5 the way down the page :)