POP3 with OAuth
Microsoft Q & A
381
Reputation points
Getting below error with IMAP Oauth while Authentication.
Caused by: javax.mail.AuthenticationFailedException: Authentication failure: unknown user name or bad password.
DEBUG POP3: connecting to host "outlook.office365.com", port 995, isSSL true +OK The Microsoft Exchange POP3 service is ready. [QWERRTYUHNJKIOLLUUUUUUtttttttAEYAUgBBAFAAMgA2ADQALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwASDFRujuuuu==]
DEBUG POP3: mail.pop3.auth.xoauth2.two.line.authentication.format: true DEBUG POP3: AUTH XOAUTH2 using two line authentication format DEBUG POP3: AUTH XOAUTH2 failed
Sign in to answer