Reply to Re: changing From in email envelope

Your name:

Reply:


Posted by petersprc on 10/01/07 14:16

Hi,

Try adding the -f option to sendmail on unix:

mail('to@dest', 'Subject', 'Message',
"From: My Site <info@site>", '-finfo@site');

On Oct 1, 8:44 am, Mtr <M...@no.spam> wrote:
> Using the mail() function, I can easily change the From address that
> appears in an email. But how do I change the From that gets sent in the
> SMTP conversation, which results in the address that appears in the
> envelope's Return-path: header? That value currently is the
> account_name@machine_name, but I don't want to give away my Linux account
> name with every single email.

[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

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