Re: [go-nuts] smtp.SendMail not using the from argument

2021-09-11 Thread Dean Schulze
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

Re: [go-nuts] smtp.SendMail not using the from argument

2021-09-10 Thread Brian Candler
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

Re: [go-nuts] smtp.SendMail not using the from argument

2021-09-09 Thread Dean Schulze
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>: > >>

Re: [go-nuts] smtp.SendMail not using the from argument

2021-09-09 Thread Roland Müller
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

[go-nuts] smtp.SendMail not using the from argument

2021-09-09 Thread Dean Schulze
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