We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

IPM.Note.SMIME.MultipartSigned TNEF mail converted to EML - unexpected result

This TNEF containing email is signed. When viewed in Outlook it warns “…problems with the signature.” And if you click the warning icon it tells you the “digital signature is not valid”. But the email displays just fine.

I then convert this to a standard internet mail, using Aspose. The created .eml file, when opened in Outlook, shows: “An error occurred in the underlying security system. An internal error occurred.”. The conversion was as simple as this:

MailMessage msg = MailMessage.load(in);
msg.save(outFile, SaveOptions.getDefaultEml())

So although the signature may not be valid - it would be really great if the converted version was able to display the email in Outlook - as it does with the tnef version.

Thank you
SMIME-ProblemMailExample.zip (24.1 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as EMAILJAVA-35031. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


We suggest you please remove signature before saving EML as shown below. Hope this helps you.

MailMessage message = MailMessage.load("19875.eml");
if (message.isSigned()) {
    message = message.removeSignature();
message.save("22.2.eml", SaveOptions.getDefaultEml());