Re: changing From in email envelope
- From: Mtr <Mtr@xxxxxxx>
- Date: Mon, 01 Oct 2007 13:36:13 -0400
On Mon, 01 Oct 2007 14:16:18 -0000, petersprc <petersprc@xxxxxxxxx> 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).?
On Oct 1, 8:44 am, Mtr <M...@xxxxxxx> 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.
.
- Follow-Ups:
- Re: changing From in email envelope
- From: Jerry Stuckle
- Re: changing From in email envelope
- References:
- changing From in email envelope
- From: Mtr
- Re: changing From in email envelope
- From: petersprc
- changing From in email envelope
- Prev by Date: How can you pull a random item and leave that item on site for a specified time period?
- Next by Date: Re: Proposal for Lite Encryption for Login Form without SSL
- Previous by thread: Re: changing From in email envelope
- Next by thread: Re: changing From in email envelope
- Index(es):
Relevant Pages
|