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.
Sending Mail on behalf of another user
Moderators: Chris Corbyn, General Moderators
-
billgoodyear
- Forum Newbie
- Posts: 16
- Joined: Fri Apr 20, 2007 11:00 am
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Sending Mail on behalf of another user
Swift gives you complete header control. You can even remove what's already there if you need to.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.
Code: Select all
$message->headers->set("Sender", "whatever@wherever");