To use Gmail as Jenkins notification channel, make sure to enable support for less secure apps :
https://www.google.com/settings/security/lesssecureapps 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 On Thu, 21 Feb, 2019, 17:52 Archana Srichandan, < archana.srichan...@4tigo.com> wrote: > 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 > > -- > 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-users+unsubscr...@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 > <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BU8sbUZdQu%2B3%2BQF8kb%2BrZTw%3D9XWAvgVft1zr6zomgtcUgVfrw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02ST7eUQAajZyoZMxyy57euF%2Bs3eS3jjV8Y3cwzRFE_ECw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.