Re: HTML mail being sent with mail() not working for some people
| From: | Jeff Lewis | Date: | Thu, 27 Mar 2003 18:50:34 +0000 |
| Subject: | Re: HTML mail being sent with mail() not working for some people | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141286@lists.php.net to get a copy of this message | ||
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 <jeff@hyrum.net>\r\n";
$message = "test";
mail ('someone@someone.com', '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" <jeff@hyrum.net>
To: <php-general@lists.php.net>
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
>
>
>