javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: java.net.SocketException: Unconnected sockets not implemented

Oracle Community | taolu2000 | 7 years ago
  1. 0

    Send email to Gmail in glassfish

    Oracle Community | 7 years ago | taolu2000
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: java.net.SocketException: Unconnected sockets not implemented
  2. 0

    Javamail exception in maven project

    Stack Overflow | 2 years ago | user3026263
    javax.mail.MessagingException: 501 5.5.4 Invalid argument Done Testing Complete , Check Inbox Please
  3. 0

    Javamail and STARTTLS not working on different platforms

    Stack Overflow | 1 year ago | Beto Neto
    javax.mail.MessagingException: STARTTLS is required but host does not support STARTTLS
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.mail.MessagingException: Could not connect to SMTP host ( Not Gmail )

    Stack Overflow | 4 years ago | JDeveloper
    javax.mail.MessagingException: Could not connect to SMTP host: mail.myspecified.com, port: 465, response: -1
  6. 0

    Using JavaMail to send email, getting "Connection refused" because of "too many connections" - why?

    Stack Overflow | 6 years ago
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.myisprovider.net, port: 25, response: 421

  1. Tahir 2 times, last 2 months ago
  2. Tahir 767 times, last 1 month ago
  3. Andreas Häber 4 times, last 2 months ago
  4. abrazeneb 102 times, last 4 months ago
27 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: smtp.gmail.com, port: 465; nested exception is: java.net.SocketException: Unconnected sockets not implemented

    at com.sun.mail.smtp.SMTPTransport.openServer()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
    2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
    2 frames
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:288)
    2. javax.mail.Service.connect(Service.java:169)
    2 frames
  4. com.tekevolving.site
    RegistrationPage.register
    1. com.tekevolving.site.server.service.GoogleTest.send2(GoogleTest.java:53)
    2. com.tekevolving.site.server.service.GoogleTest.main(GoogleTest.java:32)
    3. com.tekevolving.site.server.service.AdminService.register(AdminService.java:107)
    4. com.tekevolving.site.server.presentation.pages.RegistrationPage.register(RegistrationPage.java:138)
    4 frames
  5. Java RT
    NativeMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2 frames