You are here: Re: mail function won't send if From: domain != mail domain « All PHP « IT news, forums, messages
Re: mail function won't send if From: domain != mail domain

Posted by J.O. Aho on 02/03/06 09:16

Seth Darr wrote:

> But now, this only works if the From: email comes from the same domain
> as the webhosting server.

Sounds that the MTA has got changed settings which don't allow From: to be
anything else than the same domain as the MTA server is running. This will
still generate a TRUE from mail() even if the mail won't be sent.


> that I'd have to find a workaround.

The only workaround I know is to set the From: to a valid e-mail from the
webhostings domain and you set your own address in Reply-To:


> $headers .= "X-Priority: 3\n";
> $headers .= "X-MSMail-Priority: Normal\n";

I would skip this two, good things if you want your mail to be listed as spam.



//Aho

 

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

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