Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Not able to send email after build runs..
Not able to send email after build runs.. [message #1000180] Mon, 14 January 2013 02:50 Go to next message
Pankaj Singh is currently offline Pankaj Singh
Messages: 3
Registered: January 2013
Junior Member

I m using the hudson and i want to send email when particular event like build failure,success occur then a email notification could be sent. But when i check that if configuaration i have made is right or not by sending email then it is giving the error following..
pls suggest..




Failed to send out e-mail

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. d1sm8285663pav.6


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 hudson.tasks.Mailer$DescriptorImpl.send(Mailer.java:507)

at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:274)

at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:141)

at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:80)

at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:95)

at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:45)

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:565)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:650)

at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:365)

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:565)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:650)

at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:187)

at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:45)

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:565)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:650)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:481)

at org.kohsuke.stapler.Stapler.service(Stapler.java:152)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:648)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)

at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:86)

at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:162)

at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:134)

at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:89)

at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:162)

at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:134)

at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:89)

at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:78)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)

at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:81)

at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:73)

at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:157)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)

at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:70)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:534)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)

at org.eclipse.jetty.server.Server.handle(Server.java:365)

at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)

at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)

at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)

at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)

at java.lang.Thread.run(Unknown Source)

Re: Not able to send email after build runs.. [message #1006053 is a reply to message #1000180] Tue, 29 January 2013 11:07 Go to previous messageGo to next message
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
You should ask this in a Hudson forum (or Jenkins, if that is what you are using). This forum is for Buckminster.
Re: Not able to send email after build runs.. [message #1006621 is a reply to message #1000180] Fri, 01 February 2013 04:03 Go to previous message
Leon Qin is currently offline Leon Qin
Messages: 3
Registered: January 2013
Location: Shanghai
Junior Member
Hi

I have the same problem in using the latest hudson.

After looked at its code, I found that is caused by a bug in the hudson mailer.
I compiled my version of hudson-core which contains the hudson mailer, then replaced the official version. Now email could work.

Let me know if you need my version. qinling.net[at]gmail.com
Previous Topic:Specifying a specific set of ws/os/arch for a p2 site
Next Topic:No suitable provider for component org.eclipse.rcp
Goto Forum:
  


Current Time: Thu Jul 24 04:28:22 EDT 2014

Powered by FUDForum. Page generated in 0.01542 seconds