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

Free Support Forum - aspose.com

MailMessage failed to open MSG mail

The attached MSG mail cannot be opened with: "MailMessage.Load(file)".
The mail is a customer mail, so please do not perform a reply on the mail.

With regards
Lars Bondergaard
Nexcom A/S

Hi Lars Bondergaard,

Thank you for sharing your concern with us.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for .NET 4.2.0 and have logged it as NETWORKNET-34380 in our issue tracking system for further investigation by our development team. Once there is any information available in this regard, we’ll update you here via this thread here.

We are sorry for the inconvenience caused to you.

The issues you have found earlier (filed as NETWORKNET-34380) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi Lars,

We have analyzed this issue at our end and found that the source MSG file contains non-rfc content type which can be observed in OutlookSpy as well. In such case, you should use FileCompatabilityMode.SkipValidityChecking while loading it.

Sample Code:
MailMessageLoadOptions options = MailMessageLoadOptions.DefaultMsg;
options.FileCompatibilityMode = FileCompatibilityMode.SkipValidityChecking;
MailMessage message = MailMessage.Load(fileName, options);