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: click https://www.google.com/settings/security/lesssecureapps and select Turn on
  2. Unlock captcha: click https://accounts.google.com/DisplayUnlockCaptcha and select continue