org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.mail.yahoo.com:465

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check for proxy misconfigurations and AWS issues.

Solutions on the web

via Stack Overflow by Pariksheet Barapatre
, 1 year ago
Sending the email to the following server failed : smtp.mail.yahoo.com:465
via Google Groups by Hiren Patel, 1 year ago
Sending the email to the following server failed : smtp.office365.com:587
via GitHub by HirenPatel2791
, 1 year ago
Sending the email to the following server failed : smtp.office365.com:587
via com.br by Unknown author, 1 year ago
Sending the email to the following server failed : smtp.gmail.com:465
via Stack Overflow by badera
, 1 year ago
Sending the email to the following server failed : mail.gmx.net:465
via Google Groups by Bertram Hurtig, 3 months ago
Sending the email to the following server failed : smtp.gmx.de:25
org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.mail.yahoo.com:465
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:211)

Users with the same issue

15 times, 1 week ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4313 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.