Hello Everyone,

I recently setup Jenkins on Ubuntu 18.04 LTS (Azure VM) and I am unable to 
send mail from that.

I setup SMTP server as "smtp.office365.com"
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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4b3dc291-41d4-48a3-ba8d-b7b28ea938bfn%40googlegroups.com.

Reply via email to