dcsimg
Stange problem of MIME types
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ludovic_lecras
Posted On:   Wednesday, March 28, 2001 06:51 AM

Dear all, I wrote a Java program which works well, but I want to import this program on Lotus Notes and I have always this error message: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851) at javax.activation.DataHandler.writeTo(DataHandler.java:305) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1527) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:321) at javax.mail.Transport.send0(Transport.java:164) at javax.mail.Transport.send(Transport.java:81) A file where the   More>>

Dear all,

I wrote a Java program which works well, but I want to import this program on Lotus Notes and I have always this error message:

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
at javax.activation.DataHandler.writeTo(DataHandler.java:305)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1527)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:321)
at javax.mail.Transport.send0(Transport.java:164)
at javax.mail.Transport.send(Transport.java:81)

A file where the MIME types are defined is probably missing...
Yet the activation.jar and the mail.jar are imported...

Any idea?

Thanks a lot!

Ludovic

   <<Less
About | Sitemap | Contact