Golang Sendmail: Sending mail using net/smtp package

But using plain auth requires the google developer console to allow less secure apps. What will be an alternate way to do this without allowing less secure apps? Nodejs has a xoauth2 library to use this. How this is implemented in golang?

Show your support

Clapping shows how much you appreciated Abhilash A S’s story.