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
SMTP authentication method(loginauth) #40817
Comments
Would you be able to link to the rfc that describes loginAuth authentication. Thank you |
Is this issue about the |
I could only find this obsoleted RFC for the AUTH LOGIN mechanism. In section 1, it mentioned:
Although this is obsoleted SMTP auth mechanism, it is still widely supported by SMTP servers, eg., |
Thanks for checking. It looks like this is an obsolete server side authentication mechanism, however net/smtp only supplies a client. @cfclong could you please explain why you need to use this auth method |
Client side also needs to implement this authentication mechanism which is similar with the plainAuth: Line 54 in 0c3bf27
My use case is working on a SMTP client needs to authenticate with some legacy SMTP servers which only support this AUTH LOGIN mechanism. I understand application could implement its own LoginAuth and just need to fulfill the Auth interface. But, it’s still useful to have this natively out of box. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
I am requesting that this issue be reopened and implemented. The AUTH LOGIN standard is very much alive as was pointed out by @david7482. AUTH PLAIN is actually no longer supported by outlook.com, as I just discovered with a project I am currently working on. Office365 SMTP servers don't support it either. I was able to easily add AUTH LOGIN to my project following this post, but I completely agree with previous comments that this should be supported in the |
Reopening. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I just added an authentication method: loginAuth
What did you expect to see?
I hope that the official can provide the authentication method of SMTP
What did you see instead?
Lack of an authentication method of SMTP
The text was updated successfully, but these errors were encountered: