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

Try next authentication mechanism if current one failed #124

Closed
gaol opened this issue Nov 23, 2019 · 1 comment · Fixed by #126
Closed

Try next authentication mechanism if current one failed #124

gaol opened this issue Nov 23, 2019 · 1 comment · Fixed by #126
Milestone

Comments

@gaol
Copy link
Member

gaol commented Nov 23, 2019

In SMTP AUTH Extension specification: https://tools.ietf.org/html/rfc4954#page-6:

If an AUTH command fails, the client MAY proceed without
authentication. Alternatively, the client MAY try another
authentication mechanism or present different credentials by issuing
another AUTH

We can try to switch to next authentication mechanism in the preference allowed lists if current one failed. The first succeeded auth method can act as the preferred one in current MailConfig. If none of those auth methods succeed, it fails the authentication.

Please refer to: https://groups.google.com/forum/#!topic/vertx-dev/pUheXtKOrcc for more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant