Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for OAuth authentication #23

Merged

Conversation

robstewart57
Copy link
Contributor

This change adds sendMailWithLoginOAuthSTARTTLS to the Network.Mail.SMTP module. This function accepts a username and an OAuth token and encodes them with base 64 in SASL XOAUTH2 format, for SMTP OAUTH authentication.

This commit implements this feature request: jhickner/smtp-mail#34

This change adds `sendMailWithLoginOAuthSTARTTLS` to the
`Network.Mail.SMTP` module. This function accepts a username and an
OAuth token and encodes them with base 64 in SASL XOAUTH2 format, for
SMTP OAUTH authentication.
due to the new LOGIN_OAUTH constructor in AuthType
Copy link
Member

@spencerjanssen spencerjanssen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, will merge and publish a release tomorrow.

@spencerjanssen spencerjanssen merged commit 51dea96 into haskell-github-trust:master Jul 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants