Hello, I am trying to send a signed MimeBodyPart via HTTP and I got stuck when trying to convert it: when I try to do writeTo I get the folowing error:
javax.activation.UnsupportedDataTypeException: application/pkcs7-mime; name=smime.p7m; smime-type=signed-data at javax.activation.DataHandler.writeTo(DataHandler.java:75) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1383) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:852) I tried to add that data type to the MailcapCommandMap but it didn't help. I also tried to add a mailcap file but nothing changed. Any ideas? Thank you, Sorin.
