javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Unknown SMTP host: smtp.example.com (java.net.UnknownHostException: smtp.example.com))

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

Solutions on the web

via Sakai JIRA by Ivan Masár, 1 year ago
Send failure (javax.mail.MessagingException: Unknown SMTP host: smtp.example.com (java.net.UnknownHostException: smtp.example.com))
via Sakai JIRA by Ivan Masár, 1 year ago
Send failure (javax.mail.MessagingException: Unknown SMTP host: smtp.example.com (java.net.UnknownHostException: smtp.example.com))
via Google Groups by Marek via StackOverflow, 1 month ago
Send failure (javax.mail.MessagingException: Converting attachment data failed)
via Stack Overflow by Patrice De Saint Steban
, 2 years ago
Send failure (javax.mail.MessagingException: Converting attachment data failed)
via Stack Overflow by Marek R
, 2 years ago
Send failure (javax.mail.MessagingException: Converting attachment data failed)
via Google Groups by ArjunKumar via StackOverflow, 1 month ago
Send failure (com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1 (java.net.SocketException: Permission denied: Attempt to access a blocked recipient without permission.))
javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Unknown SMTP host: smtp.example.com (java.net.UnknownHostException: smtp.example.com))
at javax.mail.Transport.send(Transport.java:163)
at javax.mail.Transport.send(Transport.java:48)
at org.dspace.core.Email.send(Email.java:360)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:462)
at org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:54)

Users with the same issue

20 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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