org.apache.commons.mail.EmailException: Sending the email to the following serve r failed : smtp.gmail.com:587

Stack Overflow | Dan | 1 month 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

    Outgoing email not working

    GitHub | 1 year ago | slimandslam
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587
  2. 0

    Error when sending an email in Java with CompletableFuture.runAsync

    GitHub | 7 months ago | disbrain
    java.util.concurrent.CompletionException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : 127.0.0.1:25
  3. 0

    Fatal Exception MailerClient Play 2.5

    Stack Overflow | 11 months ago | Travis Smith
    java.lang.NoSuchMethodError: play.api.PlayConfig.getOptional(Ljava/lang/String;Lplay/api/ConfigLoader;)Lscala/Option;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    play-plugins-mailer do not work properly for other mail port than 465.

    GitHub | 3 years ago | thinksource
    org.apache.commons.mail.EmailException: Sending the email to the following serve r failed : smtp.live.com:587
  6. 0

    NoClassDefFoundError org/apache/commons/mail/MultiPartEmail

    GitHub | 2 years ago | hendrik-weiler
    java.lang.NoClassDefFoundError: org/apache/commons/mail/MultiPartEmail

  1. AndrewProg 4 times, last 5 months ago
  2. kid 3 times, last 6 months ago
  3. mortalman7 1 times, last 7 months ago
  4. balintn 1 times, last 10 months ago
76 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.net.ssl.SSLException

    Unrecognized SSL message, plaintext conne ction?

    at sun.security.ssl.InputRecord.handleUnknownRecord()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)[na:1.8.0_101]
    2. sun.security.ssl.InputRecord.read(InputRecord.java:527)[na:1.8.0_101]
    3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)[na:1.8.0_101]
    4. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)[na:1.8.0_101]
    5. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)[na:1.8.0_101]
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)[na:1.8.0_101]
    6 frames
  3. JavaMail API (compat)
    SMTPTransport.openServer
    1. com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:548)[mail-1.4.5.jar:1.4.5]
    2. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:352)[mail-1.4.5.jar:1.4.5]
    3. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:207)[mail-1.4.5.jar:1.4.5]
    4. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1938)[mail-1.4.5.jar:1.4.5]
    4 frames