Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Mail:- no object DCH for MIME type text/ x-vcard

843830Aug 18 2006 — edited Aug 18 2006
Hi,
I am getting an exception when I try to set the Content of MimeBodyPart with an attachment of MIME type text/x-vcard.......

....javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/x-vcard

Do I have to create a DataContentHandler for the MIME type text/x-vcard. If so, how do I do that

I do have the mail.jar and activation.jar files in my lib/ classpath.

I even have configured the mime.types file within the config directory of the Iplanet server to include this new MIME type.

Can anyone please help me out on this.

Thank you for your time.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2006
Added on Aug 18 2006
2 comments
279 views