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

763 views
Skip to first unread message

Alex Earl

unread,
Oct 11, 2012, 1:30:59 AM10/11/12
to hitesh kumar, jenkin...@googlegroups.com, jenkins...@googlegroups.com
publishers.
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=e89a8ff1c166fd555b04cbc1c39d

--e89a8ff1c166fd555b04cbc1c39d
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

The exception is different from that issue. I can't debug an old
version, so please upgrade and see if the problem persists. If it does,
file an issue in jira with as much information as you can.

Sent from my Windows Phone
From: hitesh kumar
Sent: 10/10/2012 10:23 PM
To: jenkin...@googlegroups.com; slide...@gmail.com
Cc: jenkins...@googlegroups.com
Subject: Re: ERROR: Could not send email as a part of the post-build
publishers.
Thanks Slide for reply.
i am using email ext-2.22
is latest 2.24.1 having fix of it???

as per https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
below raised issue already should be fixed in 2.19 version.

- JENKINS-12047 <https://issues.jenkins-ci.org/browse/JENKINS-12047>

ERROR: Could not send email as a part of the post-build
publishers.<https://issues.jenkins-ci.org/browse/JENKINS-12047>

Please share your comment?


On Thu, Oct 11, 2012 at 2:00 PM, Slide <slide...@gmail.com> wrote:

> Looks like you are on an older version of email-ext.
>
> slide
>
>
> On Wed, Oct 10, 2012 at 9:59 PM, hitesh kumar <hit...@gmail.com> wrote:
>
>> 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
>>
>>
>
>
> --
> Website: http://earl-of-code.com
>

--e89a8ff1c166fd555b04cbc1c39d
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head><meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Cont=
ent-Type"></head><body><div><div style=3D"font-family: Calibri,sans-serif; =
font-size: 11pt;">The exception is different from that issue. I can't debug=
an old version, so please upgrade and see if the problem persists. If it d=
oes, file an issue in jira with as much information as you can.<br><br>Sent=
from my Windows Phone<br></div></div><hr><span style=3D"font-family: Tahom=
a,sans-serif; font-size: 10pt; font-weight: bold;">From: </span><span style=
=3D"font-family: Tahoma,sans-serif; font-size: 10pt;">hitesh kumar</span><b=
r><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt; font-weig=
ht: bold;">Sent: </span><span style=3D"font-family: Tahoma,sans-serif; font=
-size: 10pt;">10/10/2012 10:23 PM</span><br><span style=3D"font-family: Tah=
oma,sans-serif; font-size: 10pt; font-weight: bold;">To: </span><span style=
=3D"font-family: Tahoma,sans-serif; font-size: 10pt;">jenkinsci-dev@googleg=
roups.com; slide...@gmail.com</span><br><span style=3D"font-family: Taho=
ma,sans-serif; font-size: 10pt; font-weight: bold;">Cc: </span><span style=
=3D"font-family: Tahoma,sans-serif; font-size: 10pt;">jenkinsci-users@googl=
egroups.com</span><br><span style=3D"font-family: Tahoma,sans-serif; font-s=
ize: 10pt; font-weight: bold;">Subject: </span><span style=3D"font-family: =
Tahoma,sans-serif; font-size: 10pt;">Re: ERROR: Could not send email as a p=
art of the post-build publishers.</span><br><br></body></html><div style=3D=
"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116=
211px;background-color:rgb(255,255,255)">Thanks Slide for reply.</div><span=
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333=
333969116211px;background-color:rgb(255,255,255)">i am using=C2=A0</span><s=
pan style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.=
333333969116211px;background-color:rgb(255,255,204)">email</span><span styl=
e=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.33333396=
9116211px;background-color:rgb(255,255,255)">=C2=A0</span><span style=3D"co=
lor:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211=
px;background-color:rgb(255,255,204)">ext</span><span style=3D"color:rgb(34=
,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px;backgro=
und-color:rgb(255,255,255)">-2.22=C2=A0</span><div style=3D"color:rgb(34,34=
,34);font-family:arial,sans-serif;font-size:13.333333969116211px;background=
-color:rgb(255,255,255)">
<font color=3D"#222222" face=3D"arial, sans-serif">is latest =C2=A0=C2=A0</=
font><span style=3D"color:rgb(210,73,57);font-size:13pt;font-family:Helveti=
ca,Arial,sans-serif">2.24.1=C2=A0</span>having fix of it???</div><div style=
=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969=
116211px;background-color:rgb(255,255,255)">
<font color=3D"#d24939" face=3D"Helvetica, Arial, sans-serif"><span style=
=3D"font-size:17.77777862548828px"><br></span></font></div><div style=3D"co=
lor:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211=
px;background-color:rgb(255,255,255)">
<font color=3D"#d24939" face=3D"Helvetica, Arial, sans-serif"><span style=
=3D"font-size:17.77777862548828px">as per=C2=A0</span></font><a href=3D"htt=
ps://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin" target=3D"_blank=
" style=3D"color:rgb(17,85,204)">https://wiki.jenkins-ci.org/display/JENKIN=
S/Email-ext+plugin</a></div>
<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333969116211px;background-color:rgb(255,255,255)"><span style=3D"color:=
rgb(210,73,57);font-family:Helvetica,Arial,sans-serif;font-size:17.77777862=
548828px">below raised issue already should be fixed in 2.19 version.</span=
></div>
<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333969116211px;background-color:rgb(255,255,255)"><ul style=3D"margin:0=
px 0px 0px 64px;padding:0px;font-size:15px;line-height:1.2667;list-style:no=
ne;font-family:Arial,FreeSans,Helvetica,sans-serif">
<li style=3D"margin:0px;padding:0px 0px 0px 16px;background-image:url(https=
://issues.jenkins-ci.org/s/en_US-jh6o7l/733/41/1.0/_/images/icons/sprites/i=
cons_module.png);display:inline;background-repeat:no-repeat no-repeat"><a r=
el=3D"142319" href=3D"https://issues.jenkins-ci.org/browse/JENKINS-12047" t=
arget=3D"_blank" style=3D"color:rgb(210,73,57)">JENKINS-12047</a></li>
</ul><div class=3D"im" style=3D"color:rgb(80,0,80)"><h1 style=3D"margin:0px=
0px 0px 64px;padding:0px;font-size:25px;line-height:1.16;color:rgb(210,73,=
57);font-family:Arial,FreeSans,Helvetica,sans-serif"><a href=3D"https://iss=
ues.jenkins-ci.org/browse/JENKINS-12047" target=3D"_blank" style=3D"color:r=
gb(53,85,100);text-decoration:none">ERROR: Could not send email as a part o=
f the post-build publishers.</a></h1>
<div><br></div></div><div>Please share your comment?</div><div><br></div></=
div><br><div class=3D"gmail_quote">On Thu, Oct 11, 2012 at 2:00 PM, Slide <=
span dir=3D"ltr">&lt;<a href=3D"mailto:slide...@gmail.com" target=3D"_bl=
ank">slide...@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Looks like you are on an older version of em=
ail-ext.<div><br></div><div>slide<div><div class=3D"h5"><br><br><div class=
=3D"gmail_quote">
On Wed, Oct 10, 2012 at 9:59 PM, hitesh kumar <span dir=3D"ltr">&lt;<a href=
=3D"mailto:hit...@gmail.com" target=3D"_blank">hit...@gmail.com</a>&gt;</=
span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi,<div>Please let me know if any one facing=
below issue and having any=C2=A0solution=C2=A0or workaround.</div><div><b>=
env:</b></div>

<div><div>LTS jenkins 1.447.2</div><div>email ext-2.22=C2=A0</div><div>ubun=
tu 10.04</div></div><div><br>
</div><div><div><b>Job config:</b></div><div>-matrix job=C2=A0</div><div>-V=
ariants 1 2 3=C2=A0</div><div>-select &quot;Trigger for each configuration&=
quot; at editable email Notification.</div><div><br></div><div><b>ISSUE :on=
e of variant job is not sending mail and generating below issue: other vari=
ant jobs are sending mails.</b></div>


<div>ERROR: Could not send email as a part of the post-build publishers.</d=
iv><div>javax.mail.MessagingException: IOException while sending message;</=
div><div>=C2=A0 nested exception is:</div><div><span style=3D"white-space:p=
re-wrap">=09</span>java.io.IOException</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at com.sun.mail.smtp.SM=
TPTransport.sendMessage(SMTPTransport.java:1141)</div><div><span style=3D"w=
hite-space:pre-wrap">=09</span>at javax.mail.Transport.send0(Transport.java=
:195)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at javax.mail.Transport=
.send(Transport.java:124)</div><div><span style=3D"white-space:pre-wrap">=
=09</span>at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(Extend=
edEmailPublisher.java:282)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.plugins.email=
ext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)</div><=
div><span style=3D"white-space:pre-wrap">=09</span>at hudson.plugins.emaile=
xt.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.tasks.BuildSt=
epMonitor$3.perform(BuildStepMonitor.java:36)</div><div><span style=3D"whit=
e-space:pre-wrap">=09</span>at hudson.model.AbstractBuild$AbstractRunner.pe=
rform(AbstractBuild.java:697)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.model.Abstrac=
tBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)</div><di=
v><span style=3D"white-space:pre-wrap">=09</span>at hudson.model.AbstractBu=
ild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.model.Build$R=
unnerImpl.cleanUp(Build.java:171)</div><div><span style=3D"white-space:pre-=
wrap">=09</span>at hudson.model.Run.run(Run.java:1448)</div>
<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.matrix.Matrix=
Run.run(MatrixRun.java:146)</div><div><span style=3D"white-space:pre-wrap">=
=09</span>at hudson.model.ResourceController.execute(ResourceController.jav=
a:88)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.model.Executo=
r.run(Executor.java:238)</div><div>Caused by: java.io.IOException</div><div=
><span style=3D"white-space:pre-wrap">=09</span>at hudson.remoting.FastPipe=
dInputStream.read(FastPipedInputStream.java:175)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at hudson.remoting.Fast=
PipedInputStream.read(FastPipedInputStream.java:151)</div><div><span style=
=3D"white-space:pre-wrap">=09</span>at javax.activation.DataHandler.writeTo=
(DataHandler.java:293)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at javax.mail.internet.=
MimeBodyPart.writeTo(MimeBodyPart.java:1476)</div><div><span style=3D"white=
-space:pre-wrap">=09</span>at javax.mail.internet.MimeBodyPart.writeTo(Mime=
BodyPart.java:865)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at javax.mail.internet.=
MimeMultipart.writeTo(MimeMultipart.java:462)</div><div><span style=3D"whit=
e-space:pre-wrap">=09</span>at com.sun.mail.handlers.multipart_mixed.writeT=
o(multipart_mixed.java:103)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at javax.activation.Obj=
ectDataContentHandler.writeTo(DataHandler.java:869)</div><div><span style=
=3D"white-space:pre-wrap">=09</span>at javax.activation.DataHandler.writeTo=
(DataHandler.java:302)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at javax.mail.internet.=
MimeBodyPart.writeTo(MimeBodyPart.java:1476)</div><div><span style=3D"white=
-space:pre-wrap">=09</span>at javax.mail.internet.MimeMessage.writeTo(MimeM=
essage.java:1772)</div>


<div><span style=3D"white-space:pre-wrap">=09</span>at com.sun.mail.smtp.SM=
TPTransport.sendMessage(SMTPTransport.java:1099)</div><div><span style=3D"w=
hite-space:pre-wrap">=09</span>... 14 more</div>
</div><div><br></div>
</blockquote></div><br><br clear=3D"all"><div><br></div></div></div><span c=
lass=3D"HOEnZb"><font color=3D"#888888">-- <br>Website:=C2=A0<a href=3D"htt=
p://earl-of-code.com" target=3D"_blank">http://earl-of-code.com</a><br>
</font></span></div>
</blockquote></div><br>

--e89a8ff1c166fd555b04cbc1c39d--

hitesh kumar

unread,
Oct 12, 2012, 12:06:01 AM10/12/12
to Alex Earl, jenkin...@googlegroups.com, jenkins...@googlegroups.com
Hi Alex,
still this issue and one more issue persists even after upgrading email-ext to latest 2.24.1
i have created jire issue with details. 
please let me know if need more information to fix this issue:
and hope this issue will be fixed soon.

regards,
Hiteswar
Reply all
Reply to author
Forward
0 new messages