ERROR: Could not send email as a part of the post-build publishers.

43 views
Skip to first unread message

hitesh kumar

unread,
Oct 11, 2012, 12:59:20 AM10/11/12
to jenkins...@googlegroups.com, jenkin...@googlegroups.com
Hi,
Please let me know if any one facing below issue and having any solution or workaround.
env:
LTS jenkins 1.447.2
email ext-2.22 
ubuntu 10.04

Job config:
-matrix job 
-Variants 1 2 3 
-select "Trigger for each configuration" at editable email Notification.

ISSUE :one of variant job is not sending mail and generating below issue: other variant jobs are sending mails.
ERROR: Could not send email as a part of the post-build publishers.
javax.mail.MessagingException: IOException while sending message;
  nested exception is:
java.io.IOException
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282)
at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
at hudson.model.Run.run(Run.java:1448)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.IOException
at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
at javax.activation.DataHandler.writeTo(DataHandler.java:293)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
at javax.activation.DataHandler.writeTo(DataHandler.java:302)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)
... 14 more

Slide

unread,
Oct 11, 2012, 1:00:16 AM10/11/12
to jenkin...@googlegroups.com, jenkins...@googlegroups.com
Looks like you are on an older version of email-ext.

slide

hitesh kumar

unread,
Oct 11, 2012, 1:21:35 AM10/11/12
to jenkin...@googlegroups.com
Thanks Slide for reply.
i am using email ext-2.22 
is latest   2.24.1 having fix of it???

below raised issue already should be fixed in 2.19 version.
Please share your comment?

hitesh kumar

unread,
Oct 11, 2012, 1:23:04 AM10/11/12
to jenkin...@googlegroups.com, slide...@gmail.com, jenkins...@googlegroups.com
Thanks Slide for reply.
i am using email ext-2.22 
is latest   2.24.1 having fix of it???

below raised issue already should be fixed in 2.19 version.
Please share your comment?


On Thu, Oct 11, 2012 at 2:00 PM, Slide <slide...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages