The address I am using with a mailer's :from
is NOT showing up in sent emails. It is using the email address associated with the smtp_settings (gmail address) in the config.
I can set the name of the sender using "Name ", but the email address gets changed upon message re开发者_StackOverflow社区ceipt.
Everything looks as it should in the logs, but not when the email shows up.
Any ideas?
In addition to my comment, I think this should explain what is happening and why:
https://webapps.stackexchange.com/questions/14464/spoof-sender-through-gmail-smtp-in-thunderbird
But like I said, if you debug the headers on both the sending and receiving end, you should be able to discover if something is changing something along the way (in this case it looks like GMail will patch the headers if you use an unverified From
).
精彩评论