javax.activation.UnsupportedDataTypeException

no object DCH for MIME type text/plain

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web274

  • via Oracle Community by 807591, 1 year ago
    no object DCH for MIME type text/plain
  • no object DCH for MIME type text/plain
  • via Google Groups by Carl F. Hall, 3 weeks ago
    no object DCH for MIME type text/plain
  • Stack trace

    • javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:625) at javax.mail.Transport.send0(Transport.java:169) at javax.mail.Transport.send(Transport.java:98) at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863) Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:870) at javax.activation.DataHandler.writeTo(DataHandler.java:301) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:585) ... 4 more

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 9 months ago