javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii

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 Google Groups by Ökrös Péter, 2 years ago
no object DCH for MIME type text/plain; charset=us-ascii
via Google Groups by Ökrös Péter, 3 months ago
no object DCH for MIME type text/plain; charset=us-ascii
via Oracle Community by 807549, 1 year ago
no object DCH for MIME type text/plain; charset=us-ascii
via Coderanch by Yurong Chen, 1 year ago
via Coderanch by Piyush Doraya, 1 year ago
no object DCH for MIME type multipart/mixed; boundary="----=_Part_0_1731747840.1331020495293"
via Oracle Community by 843802, 1 year ago
no object DCH for MIME type multipart/mixed; boundary="----=_Part_0_2824645.1032281188963"
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
at javax.activation.DataHandler.writeTo(DataHandler.java:305)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1147)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1600)
at javax.mail.Transport.send0(Transport.java:163)
at javax.mail.Transport.send(Transport.java:80)
at undefined.msgsendsample.main(msgsendsample.java:93)

Users with the same issue

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

Write tip

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