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

Free Support Forum - aspose.com

Problem when converting an SMIME signed message

I have a problem when converting an Smime signed message from MailMessage to MapiMessage using the MapiMessage.FromMailMessage method. The issue is that the message class should stay as IPM.Note.SMIME but it is instead being IPM.Note. I attached sample application with the issue simulated and with comments indicating the issue.

ConsoleApp4.zip (3.3 MB)

@bahakh,

We have reproduce the problem at our end and logged it as EMAILNET-39026 for further investigation at our end. We’ll let you know once there is some information or a fix version available in this regard.

Should we expect a fix for this issue in the upcoming release ?

@bahakh,

Please try the following code sample at your end:

var options = MapiConversionOptions.UnicodeFormat;
options.PreserveSignature = true;
var mapiMessage = MapiMessage.FromMailMessage(mailMessage, options); 

Alternatively, you can use MapiMessage.FromFile directly without using MailMessage. Please try these at your end and let us know your feedback.

The issues you have found earlier (filed as EMAILNET-39026) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by kashif.iqbal