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

Pentaho BI Platform Tracking | Emanuel Teixeira | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to run servlet - Java Programming - KnowCoding.com

    knowcoding.com | 2 years ago
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Javax mail messagingexception could not connect to smtp host localhost port 25 - Java Programming - KnowCoding.com

    knowcoding.com | 10 months ago
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
  4. 0

    Javax mail messagingexception could not connect to smtp host gmail com port - Java Programming - KnowCoding.com

    knowcoding.com | 1 year ago
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.mail.MessagingException

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

    at com.sun.mail.smtp.SMTPTransport.openServer()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1949)
    2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
    2 frames
  3. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:317)
    2. javax.mail.Service.connect(Service.java:176)
    3. javax.mail.Service.connect(Service.java:125)
    4. javax.mail.Transport.send0(Transport.java:194)
    5. javax.mail.Transport.send(Transport.java:124)
    5 frames
  4. org.pentaho.platform
    EmailResource.sendEmailTest
    1. org.pentaho.platform.plugin.services.email.EmailService.sendEmailTest(EmailService.java:173)
    2. org.pentaho.platform.web.http.api.resources.EmailResource.sendEmailTest(EmailResource.java:172)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames