Reply to Re: problems with mail() and email forwarding

Your name:

Reply:


Posted by Geoff Berrow on 06/25/07 00:25

Message-ID: <7i1u731fgmrq9bnbvvj3brdhhho28gou7v@4ax.com> from Geoff
Berrow contained the following:

>
>>It seems that when I populate this 4th argument of mail(), any emails
>>sent to an email forwarding service email address (ukreg/fasthosts
>>actually) fail to reach their destination. Direct email addresses seem
>>to work fine.
>>
>>Why is this?. Has anyone any ideas?.
>
>It will most likely be a Fasthosts thing. They have a tendency to do odd
>things IME, especially on Windows hosting. Check their knowledgebase or
>drop support a line.

Just remembered. Last time I had a problem like this I had to add the
following line.

ini_set ("sendmail_from", "postmaster@example.com");

where the domain is the site domain.

I've no idea why, especially as the from address is being defined in the
4th parameter, but it works.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

[Back to original 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

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