Jump to content

Archived

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

jeboy

how to send html email using php mail() function

Recommended Posts

I would like to ask for a help to send html email in easiest way. I've been using php mail() function for quite some time but eventually, I tried to send html email using mail() function but it didn't work.

Thanks...

Share this post


Link to post
Share on other sites
you need to put the html headers in the header section of the mail function. Use the link below (in my sig) download the chm of the php manual and do a search for the mail() function. You will see examples of how to put the headers in. If you don't mind using classes there is a very easy class you can use that will do all of this for  you. See the link below.

http://phpmailer.sourceforge.net/

Share this post


Link to post
Share on other sites

×

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.