RE: [PHP] Mail and hotmail
| From: | Peter Lauri | Date: | Fri, 05 May 2006 06:51:31 +0000 |
| Subject: | RE: [PHP] Mail and hotmail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235617@lists.php.net to get a copy of this message | ||
:) And that was my subject for the test mail I sent :) It was just a
coincidence.
What values can Importance have?
$headers = "X-Sender: ".$this->myFrom."
<".$this->myFromEmail.">".$eol;
$headers .= "From: ".$this->myFrom."
<".$this->myFromEmail.">".$eol;
$headers .= "Date: ".date("r").$eol;
$headers .= "Subject: ".$this->mySubject.$eol;
$headers .= "Delivered-to: ".$this->myTo."
<".$this->myToEmail.">".$eol;
$headers .= "MIME-Version: 1.0".$eol;
$headers .= "Reply-To: ".$this->myFrom."
<".$this->myFromEmail.">".$eol;
$headers .= "Content-type: text/html; charset=utf-8".$eol;
$headers .= "X-Priority: 3".$eol;
$headers .= "Importance: 3".$eol;
$headers .= "Return-Path: ".$this->myFrom."
<".$this->myFromEmail.">".$eol;
$headers .= "X-Mailer: PHP v".phpversion().$eol;
X-Sender: webmaster@dwsasia.com
From: DWS Asia <webmaster@dwsasia.com>
Date: Thu, 04 May 2006 22:04:23 +0700
Subject: What is this? 2
Delivered-to: Markus Karlsson <maka9641@hotmail.com>
MIME-Version: 1.0
Reply-To: DWS Asia <webmaster@dwsasia.com>
Content-type: text/html; charset=utf-8
X-Priority: 3
Importance: 3
Return-Path: DWS Asia <webmaster@dwsasia.com>
X-Mailer: PHP v4.3.11
Best regards,
Peter Lauri
-----Original Message-----
From: Angelo Zanetti [mailto:angelo@zlogic.co.za]
Sent: Friday, May 05, 2006 1:31 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mail and hotmail
Peter Lauri wrote:
> I do set the headers now, but still the email is not delivered to Hotmail.
> This is the headers that I set:
>
> X-Sender: webmaster@dwsasia.com
> From: DWS Asia <webmaster@dwsasia.com>
> Date: Thu, 04 May 2006 22:04:23 +0700
> Subject: What is this? 2
the subject of your email!