Reply to Re: changing From in email envelope

Your name:

Reply:


Posted by Jerry Stuckle on 10/02/07 02:57

Mtr wrote:
> On Mon, 01 Oct 2007 14:16:18 -0000, petersprc <petersprc@gmail.com> wrote:
>
>> Hi,
>>
>> Try adding the -f option to sendmail on unix:
>>
>> mail('to@dest', 'Subject', 'Message',
>> "From: My Site <info@site>", '-finfo@site');
>
> That works just fine, even for Exim. Thank you, Peter.
>
> But still, the first Received: line shows the account name as the
> originating host. I've tried the -oMs option, but that fails. (I'll have to
> contact the server admin to see about being a "trusted caller".)
>
> However, is there a PHP way to override the HELO/EHLO hostname that calls
> Exim (just as there was an Exim way to override what goes into the
> envelope's From).?
>

No. And you don't want to. Many MTA's will validate a server is who it
says it is via reverse domain lookup. And they will bounce (or just
delete) any mail from mismatched names.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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