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
The Microsoft Exchange SMTP server I connect to at work supports AUTH LOGIN. It would be nice to have support for this in net/smtp.
After hunting around I found and adapted some MIT licensed code which implements this. This works for me and I have checked it against Python's smtplib implementation. It may, however, benefit from the same TLS checks that are in place in PlainAuth.Start as the credentials are similarly sent over the wire in plain text.
I am using go version go1.4.1 linux/amd64.
The text was updated successfully, but these errors were encountered:
The Microsoft Exchange SMTP server I connect to at work supports
AUTH LOGIN
. It would be nice to have support for this innet/smtp
.After hunting around I found and adapted some MIT licensed code which implements this. This works for me and I have checked it against Python's
smtplib
implementation. It may, however, benefit from the same TLS checks that are in place inPlainAuth.Start
as the credentials are similarly sent over the wire in plain text.I am using go version go1.4.1 linux/amd64.
The text was updated successfully, but these errors were encountered: