javax.mail.SendFailedException

Send failure (javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25 (java.net.ConnectException: Connection refused))

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web149

  • via Unknown by Jay Taylor,
  • via Unknown by Jay Taylor,
  • Stack trace

    • javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25 (java.net.ConnectException: Connection refused)) at javax.mail.Transport.send(Transport.java:163) at javax.mail.Transport.send(Transport.java:48) at ch.qos.logback.core.net.SMTPAppenderBase.sendBuffer(SMTPAppenderBase.java:323) at ch.qos.logback.core.net.SMTPAppenderBase.append(SMTPAppenderBase.java:181) at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:85)

    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

    abrazenebabrazeneb
    20 times, last one
    Unknown visitor
    Unknown visitorOnce,