Scenario: Aspose.Email 5.1.0. Main message is in TNEF format (file attached). It contains embedded message. I try to open it using MailMessage class; do some work and re-save main message with PreserveTnefAttachments flag.
Issue: If I open message in Outlook, then embedded message 1) is corrupted and cannot be opened with Outlook; 2) is no longer has an embedded message icon. Outlook shows popup message: "The object could not be found".
Code snippet:
var dd = MailMessage.Load(@"41.eml");
var sop = SaveOptions.DefaultEml;
// some work here
sop.FileCompatibilityMode = FileCompatibilityMode.PreserveTnefAttachments;
dd.Save("h:\\41-resaved.eml", sop);
Thanks,
Alex Shloma