Forum Moderators: coopster
$to = "slbzlatv@hotmail.com";
$subject = "You've got mail!";
$message = "Hello someone.";
$headers = "From: admin@example.net\n"; // I suggest you try using only \n
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Return-path: me <admin@example.net>\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSmail-Priority: High\n";
$headers .= "X-mailer: PHP";
mail ($to, $subject, $message, $headers, "-f admin@example.net");
-----
Qmail-send tells me this :
@4000000044b6ceb7340da53c new msg 427543
@4000000044b6ceb7340f2fc4 info msg 427543: bytes 420 from <admin@example.net> qp 8885 uid 33
@4000000044b6ceb738f2fcb4 starting delivery 754: msg 427543 to remote slbzlatv@hotmail.com
@4000000044b6ceb738f346ec status: local 0/10 remote 1/255
@4000000044b6ceb935a661f4 delivery 754: success: 65.54.244.8_accepted_message./Remote_host_said:_250__<20060713225229.8884.qmail@mail.example.net>_Queued_mail_for_delivery/
@4000000044b6ceb935a901d4 status: local 0/10 remote 0/255
@4000000044b6ceb935aa3a54 end msg 427543
and slbz@hotmail.com doesn`t receive any email ...
I underline that if i send from outlook express it works
[edited by: coopster at 3:55 pm (utc) on July 14, 2006]
[edit reason]
[1][edit reason] generalized domain [/edit] [/edit][/1]
In my experience HTML formatted emails can get penalised because the majority of spam is sent in that format; your email address could be blacklisted; your server IP address could be blacklisted; your server may not have valid PTR records (which can cause Hotmail to simply ignore your emails).