javax.mail.MessagingException

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

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 web198

  • via Unknown by FIS,
  • via Unknown by Nitin Joshi,
  • via Unknown by Al,
  • 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:996) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:197) at javax.mail.Service.connect(Service.java:233) at javax.mail.Service.connect(Service.java:134) at javax.mail.Service.connect(Service.java:86) at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:104)

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    AxeloAxelo
    Once,
    Unknown visitor
    Unknown visitor4 times, last one
    TahirTahir
    769 times, last one
    26 more bugmates