note 53835 rejected from ref.mail by sean
| From: | sean@php.net | Date: | Tue, 14 Jun 2005 18:26:30 +0000 |
| Subject: | note 53835 rejected from ref.mail by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90428@lists.php.net to get a copy of this message | ||
Note Submitter: andyrota at hotmail dot com
----
Hi, i have a problem,my function mail() don't send the mail to the @hotmail account.
The code is:
$header = "MIME-Version: 1.0\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header .= "Organization: $my_org\r\n";
$header .= "Content-Transfer-encoding: 8bit\r\n";
$header .= "To: <".$a.">\r\n";
$header .= "From: <from@mail.it>\r\n";
$header .= "X-Priority: 1\r\n";
$header .= "X-MSmail-Priority: Normal\r\n";
$header .= "X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441\r\n";
$header .= "X-Sender: from@mail.it\r\n";
$header .= "X-AntiAbuse: This is a solicited email for - my mailing list.\r\n";
$header .= "X-AntiAbuse: Servername -
{".$_SERVER['SERVER_NAME']."}\r\n";
$header .= "X-AntiAbuse: User - from@mail.it\r\n";
@mail($to, $title, $message, $header);
What can i do? my $header is correct? please help me, thanks
Bye, Andrea