javax.mail.MessagingException

Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web676

  • Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
  • Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
  • via Stack Overflow by bicster
    , 11 months ago
    Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
  • Stack trace

    • javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1533) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453) at javax.mail.Service.connect(Service.java:313) at javax.mail.Service.connect(Service.java:172) at javax.mail.Service.connect(Service.java:121) at javax.mail.Transport.send0(Transport.java:190) at javax.mail.Transport.send(Transport.java:120) at com.diona.skipped.record.EmailReport.sendReportEmail(Unknown Source)

    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

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    4 times, 9 months ago
    26 more bugmates