org.apache.commons.mail.EmailException: Sending the email to the following server failed : 172.25.82.40:25

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 Oracle Community by didisoft, 1 year ago
Sending the email to the following server failed : 172.25.82.40:25
via Stack Overflow by yuejdesigner85
, 2 years ago
Sending the email to the following server failed : ********:25
via Google Groups by Bertram Hurtig, 5 months ago
Sending the email to the following server failed : smtp.gmx.de:25
via Stack Overflow by badera
, 2 years ago
Sending the email to the following server failed : mail.gmx.net:465
via Google Groups by mighty....@gmail.com, 2 years ago
Sending the email to the following serve r failed : smtp.gmail.com:465
via Stack Overflow by Alex Dude
, 1 year ago
Sending the email to the following server failed : address.domain.com:25
java.lang.ThreadDeath:
at javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:603)
at javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:563)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:625)
at javax.activation.DataHandler.writeTo(DataHandler.java:329)
at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:261)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1321)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1030)
at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:416)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1307)
at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2074)
at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2042)
at javax.mail.Transport.send(Transport.java:117)
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)
at at.eurotours.mail.Mail.run(Mail.java:374)

Users with the same issue

You are the first who have seen this exception.

Write tip

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