[JIRA] (JENKINS-59483) STMPSendFailedException although email configuration was tested successfully

14 views
Skip to first unread message

kai@northh.de (JIRA)

unread,
Sep 23, 2019, 8:55:01 AM9/23/19
to jenkinsc...@googlegroups.com
Kai F. created an issue
 
Jenkins / Bug JENKINS-59483
STMPSendFailedException although email configuration was tested successfully
Issue Type: Bug Bug
Assignee: Adrien Lecharpentier
Components: mailer-plugin
Created: 2019-09-23 12:54
Environment: Windows 10 Pro (Version 1903, OS Build 18362.356)
Jenkins 2.176.3
Mailer-Plugin 1.28
Priority: Major Major
Reporter: Kai F.

I have configured an external mail server in the mailer-plugin and I am able to send emails in the configuration menu ("Send email to test configuration").

My email configuration is as follows:
SMTP server: smtp.strato.de
Use SSL: yes
SMTP-Port: 465

But when a job fails and I have configured email notifications for this job, I do get the following error. Unfortunately, I haven't found any further logs related to this error.

Sending e-mails to: som...@gmail.com
ERROR: 530 5.7.0 User not authenticated

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 User not authenticated

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at hudson.tasks.MailSender.run(MailSender.java:130)
at hudson.tasks.Mailer.perform(Mailer.java:175)
at hudson.tasks.Mailer.perform(Mailer.java:138)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1843)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

 

I have had this issue also with mailer-plugin 1.26 and 1.27.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

tommy@sparber.net (JIRA)

unread,
Sep 26, 2019, 7:19:02 AM9/26/19
to jenkinsc...@googlegroups.com
Tommy Sparber commented on Bug JENKINS-59483
 
Re: STMPSendFailedException although email configuration was tested successfully

This should be fixed with the PR 67 once it is approved, merged and released.

tommy@sparber.net (JIRA)

unread,
Sep 26, 2019, 7:19:03 AM9/26/19
to jenkinsc...@googlegroups.com
Tommy Sparber edited a comment on Bug JENKINS-59483
This should be fixed with the [ PR 67 |https://github.com/jenkinsci/mailer-plugin/pull/67] once it is approved, merged and released.

gunter@grodotzki.co.za (JIRA)

unread,
Sep 28, 2019, 2:32:02 PM9/28/19
to jenkinsc...@googlegroups.com

adrien.lecharpentier@gmail.com (JIRA)

unread,
Oct 1, 2019, 3:28:02 AM10/1/19
to jenkinsc...@googlegroups.com

Gunter Grodotzki may I ask you to grab the snapshot build of mailer and validate that it is fixing the problem in your case? Thanks!

kai@northh.de (JIRA)

unread,
Oct 1, 2019, 4:31:03 AM10/1/19
to jenkinsc...@googlegroups.com
Kai F. commented on Bug JENKINS-59483

Thank you. I can test it as well. Where can I download the snapshot?

kai@northh.de (JIRA)

unread,
Oct 1, 2019, 11:35:04 AM10/1/19
to jenkinsc...@googlegroups.com
Kai F. commented on Bug JENKINS-59483

I have downloaded and tested this snapshot succesfully. Jenkins does send emails through my email provider Thank you!!!

https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fmailer-plugin/detail/PR-67/1/artifacts

adrien.lecharpentier@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:29:02 AM10/2/19
to jenkinsc...@googlegroups.com

thank you Kai F. for the feedback. I merged the PR and will release 1.29 version of the plugin.

adrien.lecharpentier@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:29:02 AM10/2/19
to jenkinsc...@googlegroups.com

adrien.lecharpentier@gmail.com (JIRA)

unread,
Oct 2, 2019, 8:38:03 AM10/2/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages