java.net.UnknownHostException: mail

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 if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

Solutions on the web

via Oracle Community by Praveen Gaur, 1 year ago
java.net.UnknownHostException: mail
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:208)
at intradoc.common.SmtpClient.sendMail(SmtpClient.java:275)
at intradoc.server.InternetFunctions.sendMail(InternetFunctions.java:445)
at intradoc.server.InternetFunctions.sendMailToEx(InternetFunctions.java:363)
at intradoc.server.InternetFunctions.sendMailTo(InternetFunctions.java:83)
at intradoc.server.InternetFunctions.sendMailPackage(InternetFunctions.java:724)
at intradoc.server.InternetFunctions$1.run(InternetFunctions.java:629)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
126 more bugmates

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