java.lang.RuntimeException

javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/msword


Solutions on the web30817

Solution icon of stackoverflow
javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/msword

Solution icon of coderanch
via Coderanch by sunaina agarwal, 1 month ago
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Solution icon of web
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Solution icon of googlegroups
via Google Groups by Mike, 7 months ago
javax.mail.MessagingException: Connection refused; nested exception is: java.net.ConnectException: Connection refused

Solution icon of coderanch
via Coderanch by Isaac Ferguson, 8 months ago
javax.mail.MessagingException: Unknown SMTP host: mail.gmail.com; nested exception is: java.net.UnknownHostException: mail.gmail.com

Solution icon of github
via GitHub by jamesdbloom
, 3 months ago
Exception while sending request

Solution icon of coderanch
via Coderanch by Isaac Ferguson, 8 months ago
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused

Solution icon of stackoverflow
via Stack Overflow by yashdosi
, 7 months ago
javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host

Solution icon of github
property 'exchangePattern'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [org.mule.MessageExchangePattern] for property 'exchangePattern': no matching editors or conversion strategy found (org.mule.api.lifecycle.InitialisationException)

Solution icon of stackoverflow
org.apache.cxf.interceptor.Fault: nested exception is: javax.ejb.EJBException: The java:comp/env/CLDB reference of type javax.persistence.EntityManager for the null component in the CoplinkRestService.war module of the CoplinkRestService application cannot be resolved.

Stack trace

  • java.lang.RuntimeException: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/msword at co.kush.DemoEmail.main(DemoEmail.java:134) Caused by: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/msword at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:625) at co.kush.DemoEmail.main(DemoEmail.java:128) Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/msword at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896) at javax.activation.DataHandler.writeTo(DataHandler.java:317) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago