Jenkins SMTP Email configuration fails verification Jenkins SMTP Email configuration fails verification jenkins jenkins

Jenkins SMTP Email configuration fails verification


Please check the settings in your google account.

I set "Access for less secure apps" to allowed when I got the same error.

After that I was able to send mails with the settings you specified.


Update mailer plugin to 1.1 in Jenkins.Update jenkins to latest version.Restart. Works fine then.Updating jenkins is optional.


In my case, I had to perform an extra step (see point 2 below) to make it work:

  1. Allow less secure app access: clickhttps://www.google.com/settings/security/lesssecureapps and selectTurn on
  2. Unlock captcha: clickhttps://accounts.google.com/DisplayUnlockCaptcha and select continue