Hello Everyone,
I recently setup Jenkins on Ubuntu 18.04 LTS (Azure VM) and I am unable to send mail from that.
Default user e-mail suffix as "@<company>.com"
I setup SMTP Authentication using my AD credentials
SMTP port as 587
Charset as UTF-8
When I try to send a mail, I am hitting the below error. Can anyone of you suggest on this? Thanks in advance.
Failed to send out e-mail
javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful [BL1PR13CA0482.namprd13.prod.outlook.com]
at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:947)
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:858)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:762)
at javax.mail.Service.connect(Service.java:364)
at javax.mail.Service.connect(Service.java:222)
Regards,
Ravi Krishna D