Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP mail function text/html quirks 1

Status
Not open for further replies.

rrsub

MIS
Oct 23, 2002
536
US
I have a mailer program that formats data from an input form into a pretty HTML format message delivered to a specific user.

I have "Content-Type: text/html; charset=ISO-8859-1 \r\n"

in my headers and it works well from IIS.

From Apache2 on Linux,
Outlook displays the message as text.
Thunderbird displays as HTML

Being that the end users most likely will use Outlook, what can I do to fix this?

 
Best bet is to start using the open source package PHPMailer which fully supports HTML e-mail. The class is available through It has saved me tons of headaches if I had to figure out RFC822 all over.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top