Mail function sends to gmail but not hotmail. Please help (newbie)
Hi,
Can anyone tell me what the requirements are to allow hotmail to collect
messages. I have a script using the mail function at the moment that emails
most email clients but the email doesn't seem to be accepted by hotmail. It
email doesn;t even go into the junk box.
Please help,
Raj (Newbie)
The code:
ini_set(sendmail_path, "/usr/sbin/sendmail -t -f webmaster [at] domain.com");
//Contents of an Registration Auto responce email(text format)
$message = "Thanks for registering".$userName;
$headers .= "From: Name<webmaster [at] domain.com>\n";
$headers .= "Reply-To: <webmaster [at] domain.com>\n";
$headers .= "X-Sender: <webmaster [at] domain.com>\n";
$headers .= "X-Mailer: PHP4\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <webmaster [at] domain.com>\n";
mail($email,"Registration ",wordwrap(stripslashes($message)),$headers);
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
Hi,
Tried your code and it seemed to work fine. I would try changing the
domain as a test to see if that works (change it do domain.com for
example). Also, you might want to check if your script has any errors.
sendmail_path should be in quotes for example.
On Feb 18, 3:14 pm, raj <r... [at] nospam.com> wrote:
> Hi,
>
> Can anyone tell me what the requirements are to allowhotmailto collect
> messages. I have a script using the mail function at the moment that emails
> most email clients but the email doesn't seem to be accepted byhotmail. It
> email doesn;t even go into the junk box.
>
> Please help,
>
> Raj(Newbie)
>
> The code:
>
> ini_set(sendmail_path, "/usr/sbin/sendmail -t -f webmas... [at] domain.com");
>
> //Contents of an Registration Auto responce email(text format)
> $message = "Thanks for registering".$userName;
>
> $headers .= "From: Name<webmas... [at] domain.com>\n";
> $headers .= "Reply-To: <webmas... [at] domain.com>\n";
> $headers .= "X-Sender: <webmas... [at] domain.com>\n";
> $headers .= "X-Mailer: PHP4\n"; //mailer
> $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
> $headers .= "Return-Path: <webmas... [at] domain.com>\n";
> mail($email,"Registration ",wordwrap(stripslashes($message)),$headers);
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
Hi,
Tried your code and it seemed to work fine. I would try changing the
domain as a test to see if that works (change it do domain.com for
example). Also, you might want to check if your script has any errors.
sendmail_path should be in quotes for example.
On Feb 18, 3:14 pm, raj <r... [at] nospam.com> wrote:
> Hi,
>
> Can anyone tell me what the requirements are to allowhotmailto collect
> messages. I have a script using the mail function at the moment that emails
> most email clients but the email doesn't seem to be accepted byhotmail. It
> email doesn;t even go into the junk box.
>
> Please help,
>
> Raj(Newbie)
>
> The code:
>
> ini_set(sendmail_path, "/usr/sbin/sendmail -t -f webmas... [at] domain.com");
>
> //Contents of an Registration Auto responce email(text format)
> $message = "Thanks for registering".$userName;
>
> $headers .= "From: Name<webmas... [at] domain.com>\n";
> $headers .= "Reply-To: <webmas... [at] domain.com>\n";
> $headers .= "X-Sender: <webmas... [at] domain.com>\n";
> $headers .= "X-Mailer: PHP4\n"; //mailer
> $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
> $headers .= "Return-Path: <webmas... [at] domain.com>\n";
> mail($email,"Registration ",wordwrap(stripslashes($message)),$headers);
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
Hi,
Tried your code and it seemed to work fine. I would try changing the
domain as a test to see if that works (change it do domain.com for
example). Also, you might want to check if your script has any errors.
sendmail_path should be in quotes for example.
On Feb 18, 3:14 pm, raj <r... [at] nospam.com> wrote:
> Hi,
>
> Can anyone tell me what the requirements are to allowhotmailto collect
> messages. I have a script using the mail function at the moment that emails
> most email clients but the email doesn't seem to be accepted byhotmail. It
> email doesn;t even go into the junk box.
>
> Please help,
>
> Raj(Newbie)
>
> The code:
>
> ini_set(sendmail_path, "/usr/sbin/sendmail -t -f webmas... [at] domain.com");
>
> //Contents of an Registration Auto responce email(text format)
> $message = "Thanks for registering".$userName;
>
> $headers .= "From: Name<webmas... [at] domain.com>\n";
> $headers .= "Reply-To: <webmas... [at] domain.com>\n";
> $headers .= "X-Sender: <webmas... [at] domain.com>\n";
> $headers .= "X-Mailer: PHP4\n"; //mailer
> $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
> $headers .= "Return-Path: <webmas... [at] domain.com>\n";
> mail($email,"Registration ",wordwrap(stripslashes($message)),$headers);
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
On Sun, 18 Feb 2007 20:14:11 +0000, raj <raj [at] nospam.com> wrote:
>Hi,
>
>Can anyone tell me what the requirements are to allow hotmail to collect
>messages. I have a script using the mail function at the moment that emails
>most email clients but the email doesn't seem to be accepted by hotmail. It
>email doesn;t even go into the junk box.
Chances are that the mail is being sent OK.
But Hotmail have very aggresive anti-spam systems.
I think that their (often moronic) users can flag messages as Spam.
If enough of them do it then that will temporarily block *all* mail
from the originating IP address.
That IP may be that of your Server, or you hosting company may well
send all outgoing server-originated mail through Gateway(s). That IP
may be blocked.
But you should have had a bounce message from Hotmail...
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
David Quinton wrote:
> That IP may be that of your Server, or you hosting company may well
> send all outgoing server-originated mail through Gateway(s). That IP
> may be blocked.
Most commonly dynamic ip addresses are blocked on quite many mail servers, the
same with ip-addresses that don't resolve to a valid ip-name.
> But you should have had a bounce message from Hotmail...
Hotmail seldom does bounces, specially not if your mail has been detected as
spam, those detected in the first level are quietly piped to /dev/null.
--
//Aho
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
Post removed (X-No-Archive: yes)
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
On Sun, 18 Feb 2007 20:14:11 +0000, raj <raj [at] nospam.com> wrote:
>Hi,
>
>Can anyone tell me what the requirements are to allow hotmail to collect
>messages. I have a script using the mail function at the moment that emails
>most email clients but the email doesn't seem to be accepted by hotmail. It
>email doesn;t even go into the junk box.
Chances are that the mail is being sent OK.
But Hotmail have very aggresive anti-spam systems.
I think that their (often moronic) users can flag messages as Spam.
If enough of them do it then that will temporarily block *all* mail
from the originating IP address.
That IP may be that of your Server, or you hosting company may well
send all outgoing server-originated mail through Gateway(s). That IP
may be blocked.
But you should have had a bounce message from Hotmail...
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
David Quinton wrote:
> That IP may be that of your Server, or you hosting company may well
> send all outgoing server-originated mail through Gateway(s). That IP
> may be blocked.
Most commonly dynamic ip addresses are blocked on quite many mail servers, the
same with ip-addresses that don't resolve to a valid ip-name.
> But you should have had a bounce message from Hotmail...
Hotmail seldom does bounces, specially not if your mail has been detected as
spam, those detected in the first level are quietly piped to /dev/null.
--
//Aho
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
On Sun, 18 Feb 2007 20:14:11 +0000, raj <raj [at] nospam.com> wrote:
>Hi,
>
>Can anyone tell me what the requirements are to allow hotmail to collect
>messages. I have a script using the mail function at the moment that emails
>most email clients but the email doesn't seem to be accepted by hotmail. It
>email doesn;t even go into the junk box.
Chances are that the mail is being sent OK.
But Hotmail have very aggresive anti-spam systems.
I think that their (often moronic) users can flag messages as Spam.
If enough of them do it then that will temporarily block *all* mail
from the originating IP address.
That IP may be that of your Server, or you hosting company may well
send all outgoing server-originated mail through Gateway(s). That IP
may be blocked.
But you should have had a bounce message from Hotmail...
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
David Quinton wrote:
> That IP may be that of your Server, or you hosting company may well
> send all outgoing server-originated mail through Gateway(s). That IP
> may be blocked.
Most commonly dynamic ip addresses are blocked on quite many mail servers, the
same with ip-addresses that don't resolve to a valid ip-name.
> But you should have had a bounce message from Hotmail...
Hotmail seldom does bounces, specially not if your mail has been detected as
spam, those detected in the first level are quietly piped to /dev/null.
--
//Aho
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
On 19 Feb, 08:51, "J.O. Aho" <u... [at] example.net> wrote:
> David Quinton wrote:
> > That IP may be that of your Server, or you hosting company may well
> > send all outgoing server-originated mail through Gateway(s). That IP
> > may be blocked.
>
> Most commonly dynamic ip addresses are blocked on quite many mail servers, the
> same with ip-addresses that don't resolve to a valid ip-name.
>
> > But you should have had a bounce message from Hotmail...
>
> Hotmail seldom does bounces, specially not if your mail has been detected as
> spam, those detected in the first level are quietly piped to /dev/null.
>
> --
>
> //Aho
try using authenticated smtp, or set reverse DNS entry for your domain
name.
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
On 19 Feb, 08:51, "J.O. Aho" <u... [at] example.net> wrote:
> David Quinton wrote:
> > That IP may be that of your Server, or you hosting company may well
> > send all outgoing server-originated mail through Gateway(s). That IP
> > may be blocked.
>
> Most commonly dynamic ip addresses are blocked on quite many mail servers, the
> same with ip-addresses that don't resolve to a valid ip-name.
>
> > But you should have had a bounce message from Hotmail...
>
> Hotmail seldom does bounces, specially not if your mail has been detected as
> spam, those detected in the first level are quietly piped to /dev/null.
>
> --
>
> //Aho
try using authenticated smtp, or set reverse DNS entry for your domain
name.
Re: Mail function sends to gmail but not hotmail. Please help (newbie)
On 19 Feb, 08:51, "J.O. Aho" <u... [at] example.net> wrote:
> David Quinton wrote:
> > That IP may be that of your Server, or you hosting company may well
> > send all outgoing server-originated mail through Gateway(s). That IP
> > may be blocked.
>
> Most commonly dynamic ip addresses are blocked on quite many mail servers, the
> same with ip-addresses that don't resolve to a valid ip-name.
>
> > But you should have had a bounce message from Hotmail...
>
> Hotmail seldom does bounces, specially not if your mail has been detected as
> spam, those detected in the first level are quietly piped to /dev/null.
>
> --
>
> //Aho
try using authenticated smtp, or set reverse DNS entry for your domain
name.
PHP » alt.php » Mail function sends to gmail but not hotmail. Please help (newbie)