When using Gmail for SMTP, can you set a different “from” address?
-
12-11-2019 - |
Question
I am using Swift Mailer 406 for sending emails. I connect to my smtp.gmail.com account and then I do:
->setFrom(array($from => $fromname))
But the emails sent got the original gmail account email.
Can I change it?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow