Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Talend expoerts
I am trying to connect to outlook 365 mail exchange using following config and it keeps failing and throws an error:
“javax.mail.AuthenticationFailedException: AUTHENTICATE failed.”
Not sure if I am doing something wrong.
Could you please suggest?
Thanks
Harshal.
Hi
Please check your username and password. I just make a testing with my office 365 account and it is working, I am able to retrieve emails or send emails using tSendMail.
Regards
Shong
I checked username and password and even tried with different people and same error.
"Authentication failed".....
Could you pls share what you are using in config @shong ?
Hello try to add this Java option in job and try :
-Dmail.imap.auth.plain.disable=true
if it still does not work , may be IMAP is not allowed in your organisation.
Update from customer :The issue was that mailbox was enabled MFA and when tried with another mailbox where MFA was disabled and it worked fine.