javax.mail.MessagingException

Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe (Write failed)


Samebug tips13

Upgrade your docker-selenium

Client closed the websocket connection (safe to ignore)

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web842

Solution icon of stackoverflow
Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe (Write failed)

Solution icon of github
Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe

Solution icon of googlegroups
Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe

Solution icon of github
via GitHub by royerloic
, 4 months ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of github
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of stackoverflow
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of stackoverflow
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of stackoverflow
via Stack Overflow by yashdosi
, 7 months ago
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of stackoverflow
Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of stackoverflow
Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: java.net.SocketException: Broken pipe

Stack trace

  • 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

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 4 months ago
2 times, 1 week ago
262 more bugmates