no object DCH for MIME type multipart/mixed
Asked by Ronny Nijs:

We have often the following problem and due to this our clients are not informed by mail. Can you please provide us some information about this problem.

Error: no object DCH for MIME type multipart/mixed

{code} 2014-02-24 16:26:29,362 Sending mailitem To='hidden@hidden.be' Subject='(SAN-10) BPO: Belcotax 2013 ' From='null' FromName='(Hidden Support)' Cc='' Bcc='' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@1d478b8f' MessageId='null' ERROR ServiceRunner Mail Queue Service \[atlassian.mail.queue.MailQueueImpl\] Error occurred in sending e-mail: To='hidden@hidden.be' Subject='(SAN-10) BPO: Belcotax 2013 ' From='null' FromName='(Hidden Support)' Cc='' Bcc='' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@1d478b8f' MessageId='null' com.atlassian.mail.MailException: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_1166_1988051960.1393255544512" at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.quisapps.jira.fieldsecurity.mail.JFSMailQueueImpl.sendBuffer(JFSMailQueueImpl.java:138) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_1166_1988051960.1393255544512" at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1177) at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:174) ... 8 more Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_1166_1988051960.1393255544512" at javax.activation.ObjectDataContentHandler.writeTo(Unknown Source) at javax.activation.DataHandler.writeTo(Unknown Source) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1485) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1773) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1121) ... 9 more {code}

Thanks for the information

Ronny


Answers:
author: Alejandro Conde Carrillo
body: This error is often caused when you are using a non compatible Java version. You can find more information in Exporting a page to word doesn't work after Confluence upgrade.


author: Naama Lev
body: Hi ,

We have the same issue as well,

did any one found the cause of that?

Thanks

Naama


author: David Snyder
body: FWIW, I'm seeing the same thing on our system. I did attempt to update a number of the text and html email templates in order to remove the "comment" and "description" fields for security reasons. I may try restoring the original files to see if the problem goes away.


author: Andy Brook [Plugin People]
body: Hi Ronny, is this driven by JEMH or by a groovy script ([I saw this](http://stackoverflow.com/questions/18106166/sending-an-email-no-object-dch-for-mime-type-multipart-mixed))? If its JEMH, is it repeatable on a particular issue, would like more details?


Tags: jemh