[PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Jeff Lewis
We're sending out emails using mail() and sending it in HTML format and
while most people get it correctly a couple are not. They get the anti-abuse
headers and then the HTML code appears as just that - HTML code in the body
of the email.

Sending those same people an HTML email composed in Outlook comes across
just fine, perhaps it's the anti abuse headers causing the issue?

Has anyone heard or had experience with this?

Jeff





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Jeff Lewis
A bit more information on this...here is the code being used:

$headers  = MIME-Version: 1.0\r\n;
$headers .= Content-type: text/html; charset=iso-8859-1\r\n;

/* additional headers */
$headers .= From: Jeff [EMAIL PROTECTED]\r\n;

$message = test;
 mail ('[EMAIL PROTECTED]', 'Quote of the Week from Jeff', $message,
$headers);

And again, it works for most people but two people have complained about
this issue. At least one as using MS Outlook.

Jeff


- Original Message -
From: Jeff Lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 12:14 PM
Subject: [PHP] HTML mail being sent with mail() not working for some people


 We're sending out emails using mail() and sending it in HTML format and
 while most people get it correctly a couple are not. They get the
anti-abuse
 headers and then the HTML code appears as just that - HTML code in the
body
 of the email.

 Sending those same people an HTML email composed in Outlook comes across
 just fine, perhaps it's the anti abuse headers causing the issue?

 Has anyone heard or had experience with this?

 Jeff





 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Don Read

On 27-Mar-2003 Jeff Lewis wrote:
 We're sending out emails using mail() and sending it in HTML format and
 while most people get it correctly a couple are not. They get the
 anti-abuse
 headers and then the HTML code appears as just that - HTML code in the
 body
 of the email.
 
 Sending those same people an HTML email composed in Outlook comes across
 just fine, perhaps it's the anti abuse headers causing the issue?
 
 Has anyone heard or had experience with this?
 

google 'mime multipart alternative HTML'

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php