You are here: Re: Why PHP Mail Not Sent « PHP Programming Language « IT news, forums, messages
Re: Why PHP Mail Not Sent

Posted by Vic Spainhower on 01/15/06 21:49

Phil,

I tried removing the \r but it doesn't help, message still is never
delivered. remains a mystery

Vic


"Philip Ronan" <nobody@example.invalid> wrote in message
news:0001HW.BFEFEF770079E2D1F068C550@news.blueyonder.co.uk...
> Vic Spainhower wrote:
>
>> Hello,
>>
>> Is there any way to determine why a PHP mail message is not delivered? I
>> have a particular user who is not receiving mail from my PHP application
>> and
>> I don't know why, it just totally disappears. Using the following test
>> did
>> not work either.
>>
>>
>> $to = 'gladys@herwebsite.com';
>> $subject = 'Wakeup Gladys!';
>> $message = '<b>yo</b>, whassup?';
>> $headers = "From: vic@mywebsite.com\r\n" .
>> 'X-Mailer: PHP/' . phpversion() . "\r\n" .
>> "MIME-Version: 1.0\r\n" .
>> "Content-Type: text/html; charset=utf-8\r\n" .
>> "Content-Transfer-Encoding: 8bit\r\n\r\n";
>
> The mail is quite possibly being blackholed by a spam filter because
> you're
> using "\r\n" to separate the mail headers. Use "\n" instead. I know that's
> not what it says in RFC822, but that's just how things turned out.
>
> Sending HTML content without any <HTML> tag at the beginning might set a
> few
> alarm bells ringing too. In general you'll have fewer problems if you
> emulate
> the behaviour of regular email software.
>
> Phil
>
> --
> philronan [@] blueyonder [dot] co [dot] uk
>

 

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

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