Unable to get email after successful build

35 views
Skip to first unread message

Archana Srichandan

unread,
Feb 21, 2019, 7:22:17 AM2/21/19
to jenkins...@googlegroups.com
Hi All.

can i get a suggestion on this ,getting "
ERROR: Could not connect to SMTP host: smtp.gmail.com, port: 465
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
  nested exception is:
	javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
"
Any suggestions?
Regards,
Archana Srichandan
coloring.PNG

RAJENDRA PRASAD

unread,
Feb 21, 2019, 8:07:53 AM2/21/19
to jenkins...@googlegroups.com
To use Gmail as Jenkins notification channel, make sure to enable support for less secure apps :


as this also prevents Jenkins from sending mail notifications.

If not works with above settings 
Also try to change port to 587  and Uncheck SSL.

Thanks,
Rajendra

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BU8sbUZdQu%2B3%2BQF8kb%2BrZTw%3D9XWAvgVft1zr6zomgtcUgVfrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages