You are here: Re: Mail function sends to gmail but not hotmail. Please help (newbie) « All PHP « IT news, forums, messages
Re: Mail function sends to gmail but not hotmail. Please help (newbie)

Posted by petersprc on 02/18/07 21:45

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...@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...@domain.com");
>
> //Contents of an Registration Auto responce email(text format)
> $message = "Thanks for registering".$userName;
>
> $headers .= "From: Name<webmas...@domain.com>\n";
> $headers .= "Reply-To: <webmas...@domain.com>\n";
> $headers .= "X-Sender: <webmas...@domain.com>\n";
> $headers .= "X-Mailer: PHP4\n"; //mailer
> $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
> $headers .= "Return-Path: <webmas...@domain.com>\n";
> mail($email,"Registration ",wordwrap(stripslashes($message)),$headers);

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация