javax.mail.MessagingException: Could not connect to SMTP host: , p ort: 465, response: -1 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1922) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:638)

ittoolbox.com | 5 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

    javax.mail.Messaging Exception - Toolbox for IT Groups

    ittoolbox.com | 5 months ago
    javax.mail.MessagingException: Could not connect to SMTP host: , p ort: 465, response: -1 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1922) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:638)
  2. 0

    sending mail using java mail api

    Stack Overflow | 4 years ago | kaysush
    javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. ko8sm1883776pbc.40
  3. 0

    Unable to connect to SMTP Port no 465

    Stack Overflow | 3 years ago
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.bizmail.yahoo.com, port: 465
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Javamail API exception - Authentication required

    Stack Overflow | 3 years ago | vishal
    javax.mail.MessagingException: 530 5.7.1 Authentication required
  6. 0

    how to solve send email action in jsp

    Stack Overflow | 4 years ago | tonberry
    javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. ay5sm8087291pab.1

    7 unregistered visitors
    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: , p ort: 465, response: -1 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1922) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:638)

      at javax.mail.Service.connect()
    2. JavaMail API
      Transport.send
      1. javax.mail.Service.connect(Service.java:295)
      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
    3. Unknown
      SendMailTest.main
      1. SendMail.send(SendMail.java:51)
      2. SendMailTest.main(SendMailTest.java:10)
      2 frames