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 09/28/21 11:37

Jim,

I was able to set the return path in the message header and it does come
through OK. However, it didn't fix the problem with this particular address.

Vic


"Jim Michaels" <jmichae3@yahoo.com> wrote in message
news:pK-dnUgmbM-bgFfenZ2dnUVZ_tadnZ2d@comcast.com...
>I noticed that my web mail on yahoo will filter out emails sent from PHP
>into the Bulk Mail folder automatially. I've tried everything to fx that,
>even setting the Return-Path:, but the resulting email had a different
>Return-Path than what I set. I think the mail server mangled it. I don't
>think it was PHP because PHP doesn't have a setting for that.
>
> "Andy Hassall" <andy@andyh.co.uk> wrote in message
> news:o5egs19bk7gu3qj245ha3f8kn3om0iid7h@4ax.com...
>> On Fri, 13 Jan 2006 15:19:01 -0800, "Vic Spainhower" <vic@showsec.com>
>> wrote:
>>
>>>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";
>>
>> Presumably there's a call to mail() as well ;-)
>>
>> How much access to mailserver logs on both sides do you have? First place
>> I'd
>> look is /var/log/maillog (or equivalent) at least on the sending system
>> to make
>> sure it's going out, and then on the receiving end to see if it arrived
>> but was
>> subsequently zapped by spam filters.
>>
>> --
>> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
>> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
>
>

 

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

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