You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library supports PLAIN, LOGIN and CRAM_MD5 authentication mechanisms.
This issue is a feature request for OAuth2 based authentication for sending emails with this library, with a XOAUTH2 constructor for AuthType and supporting functions in Network/Mail/SMTP.hs.
Such that the SMTP client transmits this to the SMTP server:
AUTH XOAUTH2 <oauth token>
rather than providing a username and password as with LOGIN. Instead, a username and OAuth token would be provided.
It might be that this library would need to encode this information in SASL XOAUTH2 format.
The text was updated successfully, but these errors were encountered:
This library supports
PLAIN
,LOGIN
andCRAM_MD5
authentication mechanisms.This issue is a feature request for OAuth2 based authentication for sending emails with this library, with a
XOAUTH2
constructor forAuthType
and supporting functions inNetwork/Mail/SMTP.hs
.Such that the SMTP client transmits this to the SMTP server:
rather than providing a username and password as with
LOGIN
. Instead, a username and OAuth token would be provided.It might be that this library would need to encode this information in SASL XOAUTH2 format.
The text was updated successfully, but these errors were encountered: