v0.4.0: Custom dial contexts and OAUTH2 support #133
Closed
wneessen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release adds two great improvements to go-mail.
Custom dial contexts
The newly added option allows for providing custom dial contexts, to use i. e. for some more extra processes in establish a connection such as using proxy, DNS hook, and so on. The dial context can be provided via the
WithDialContextFunc
option on theClient
. Huge thanks to @sters for their contribution to the project!OAUTH2 support
@drakkan (Developer of the excellent SFTPGO) added a new SMTP auth option for OAUTH2 authentication tokens (aka XOAUTH2). We now support Google and Microsoft O365 OAUTH2 authentication tokens. With this, go-mail now support 4 different SMTP Auth variants: LOGIN, PLAIN, CRAM-MD, XOAUTH2.
Thanks again @drakkan for this contribution and also big thanks to @james-d-elliott for helping to test this new option and providing their broad knowledge to this feature.
Other changes
We've synced up the changes that were made to the official go net/smtp package with our own copy. So this way go-mail is fully in sync with the official go package again.
What's Changed
New Contributors
Full Changelog: v0.3.9...v0.4.0
This discussion was created from the release v0.4.0: Custom dial contexts and OAUTH2 support.
Beta Was this translation helpful? Give feedback.
All reactions