Jump to content

Recommended Posts

Hotmail.com does not receive emails when i send them with mail() function from PHP ... What is wrong ??

My script is :

$to = "slbzlatv@hotmail.com";
$subject = "You've got mail!";
$message = "Hello someone.";
$headers = "From: admin@domain.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@domain.net>\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSmail-Priority: High\n";
$headers .= "X-mailer: PHP";

mail ($to, $subject, $message, $headers, "-f admin@domain.net");

-----
Qmail-send tells me this :

@4000000044b6ceb7340da53c new msg 427543
@4000000044b6ceb7340f2fc4 info msg 427543: bytes 420 from <admin@hopzone.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.hophost.net>_Queued_mail_for_delivery/
@4000000044b6ceb935a901d4 status: local 0/10 remote 0/255
@4000000044b6ceb935aa3a54 end msg 427543

and slbzlatv@hotmail.com doesn`t receive any email ...

I underline that if i send from outlook express it works
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.