Web Hosting Talk







View Full Version : Sending HTML emails with PHP - Please help


FIAHOST
11-13-2005, 01:39 PM
Hello

I spent all this gloomy Sunday just trying to send an HTML formated email. Actually, this email is an invoice. I send it using the mail() function in PHP4.

However, when received this email is either displayed as code, or only as text and the HTML code and formatting removed and/or ignored.

All the email accounts to where this email was sent do accept HTML emails.

Thank you for your help!

WebArtist
11-14-2005, 10:02 AM
This is from the PHP manual regarding "Sending Mail".

http://www.php.net/manual/en/function.mail.php

I hope this is it.

Jatinder
11-14-2005, 01:05 PM
Download PHPMailer for sourceforge.

This is all you will ever need to send emails from PHP