I have developed a PHP football pool and one of it's functions is to send email notifications to members dealing with their picks and any messages sent by the Admin. The mails are sent without any problems however they display as text in Outlook and correctly in a web based mail client. I think it might be in my headers but I'm at a lost. The following are the headers that I create for the message:

HEADERS: BCC: ghgarcia@lvbash.com, From: ghgarcia@lvbash.com Reply-To: ghgarcia@lvbash.com Return-Path: ghgarcia@lvbash.com MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

Any help would be greatly appreciated.

Thanks,
George

Hello George,

I recommend using PHPMailer script for this purpose. It's easy to send HTML messages using PHPMailer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.