Page 1 of 1

Sending Mail on behalf of another user

Posted: Tue May 29, 2007 2:37 pm
by billgoodyear
It is supported to have a From and a Sender.

We delivery a lot of batch mails on behalf of our store owners, and so while the Sender is us, the From is actually the store operator. I'd love to be able to comply with the RFC that would allow us to have both in our messages.

At the moment we are having to fake it by using our email address and setting the name to be the name of the store operator. This is ok, but not as good as using From and Senders.

Thanks,

Bill.

Re: Sending Mail on behalf of another user

Posted: Wed May 30, 2007 2:03 am
by Chris Corbyn
billgoodyear wrote:It is supported to have a From and a Sender.

We delivery a lot of batch mails on behalf of our store owners, and so while the Sender is us, the From is actually the store operator. I'd love to be able to comply with the RFC that would allow us to have both in our messages.

At the moment we are having to fake it by using our email address and setting the name to be the name of the store operator. This is ok, but not as good as using From and Senders.

Thanks,

Bill.
Swift gives you complete header control. You can even remove what's already there if you need to.

Code: Select all

$message->headers->set("Sender", "whatever@wherever");
?