Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    not english

  2. ,

    You are probably trying to write to a connection when the other end (the remote end of the connection) has already closed it.

Solutions on the web

via Stack Overflow by abc
, 1 year ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe (Write failed)
via Stack Overflow by asafd
, 11 months ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host
via Stack Overflow by sikander
, 11 months ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host
via Google Groups by richrem, 10 months ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe
via GitHub by royerloic
, 1 year ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host
via GitHub by nicost
, 1 year ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host
javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe (Write failed) at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2106) at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2093) at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1184) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:445) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:345) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:253) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.cleanUp(Build.java:196) at hudson.model.Run.execute(Run.java:1775) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405)Caused by: java.net.SocketException: Broken pipe (Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) at java.net.SocketOutputStream.write(SocketOutputStream.java:155) at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:114) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2104) ... 13 more