-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins: 2.187 (Linux)
Mailer: 1.24
-
-
mailer-1.26
This appears to be a regression in Mailer 1.24. I just updated that plugin this morning. If I go to Manage Jenkins -> Configure System -> Email notification -> Advanced -> Test configuration by sending test e-mail, the test fails with:
Failed to send out e-mail
com.sun.mail.smtp.SMTPSendFailedException: 530-5.5.1 Authentication Required. Learn more at
530 5.5.1 https://support.google.com/mail/?p=WantAuthError r14sm33254971qke.47 - gsmtp
If I downgrade to the 1.23 version of Mailer, and don't change my configuration at all, then the test email is sent successfully.
Email configuration:
SMTP server: smtp.gmail.com
Default user e-mail suffix: blank
Use SMTP Authentication: true
User Name and Password: set correctly
Use SSL: true
SMTP Port: 465
Reply-To Address: no-reply@allworx.com
Charset: UTF-8
- is duplicated by
-
JENKINS-59095 useAuth is set to false even when 'Use SMTP Authentication' is enabled and configured
-
- Open
-
-
JENKINS-58976 Mail "Test configuration" not working with SMTP auth
-
- Open
-
- is related to
-
JENKINS-58822 Failed to send out e-mail
-
- Open
-
- links to
+1.
I got the same Authentication issue today on my new jenkins. I was confused why I got this error.
Then I compared with another jenkins which works properly. The only difference is the correct one use the mailer plugin 1.23 while the error one with 1.24.
I upgrade the plugin from 1.23 to 1.24, after that, I got the same error.
And it came to work again once I downgrade it back to 1.23
Both nodes run Jenkins ver. 2.176.2 on centOS 7.4