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
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?
Retrieving data ...