Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Embedded message issue in 5.1.0

$
0
0
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

Viewing all articles
Browse latest Browse all 1367

Trending Articles