Thanks for the suggestion.
Unfortunately that doesn't work for Protonmail. It automatically populates
the SMTP Server field with mail.protonmail.ch but it fails to contact that
server. I'll contact ProtonMail support and see if they know how to do
this.
On Friday, September 10, 2021 at 1:06
If you are using Google's SMTP servers, then it validates the From: header
and restricts it to those which you have registered against that account.
You can register additional addresses (including non-Google ones):
Settings > See all settings > Accounts and Import > Send Mail As (Use Gmail
to
It could be that I'm not using smtp.SendMail() correctly, which is why I
posted it here. Thanks for your guess, though.
On Thursday, September 9, 2021 at 2:31:11 PM UTC-6 rol...@gmail.com wrote:
> Hello,
>
> Am Do., 9. Sept. 2021 um 20:19 Uhr schrieb Dean Schulze <
> dean.w@gmail.com>:
>
>>
Hello,
Am Do., 9. Sept. 2021 um 20:19 Uhr schrieb Dean Schulze <
dean.w.schu...@gmail.com>:
> I'm sending emails with smtp.SendMail() via gmail. I set the from
> argument to smtp.SendMail() to a different email address than my gmail
> username, but the emails still get sent with the From: as my
I'm sending emails with smtp.SendMail() via gmail. I set the from argument
to smtp.SendMail() to a different email address than my gmail username, but
the emails still get sent with the From: as my gmail address.
Do I need to do something else to change the From: in the emails, or is
gmail alw