javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary

JavaMail depends on some configuration files to map MIME types to Java classes (e.g., multipart/mixed to javax.mail.internet.MimeMultipart). These configuration files are loaded using the ClassLoader for the application. If the ClassLoader doesn’t function properly, these configuration files won’t be found. You can simply add below lines .. that solves the issue . MailcapCommandMap mc = … Read more

tech