Windows-0 character set throws exception

The attached zip file contains an EML with some encoding using Windows-0. It throws an exception when the MailMessage.Load is used to load the file. The log file is included with the exception message. I am using the 2.6.0 version of the library with VS 2010 and C# on a Windows 7 machine.

Thank you,

Jeff

Hi Jeff,


Sorry for the inconvenience you are facing.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for .NET 2.6.0 and following code.

MailMessage mailMsg = MailMessage.Load(“Inbox_001110.eml”);

We are already investigating the issue of supported encodings by Aspose.Email. Meanwhile, you can load this EML file by skipping the validity checking as follow:

MailMessage mailMsg = MailMessage.Load(“Inbox_001110.eml”, FileCompatibilityMode.SkipValidityChecking);

I have also logged this issue in our bug tracking system as NETWORKNET-33638, so that it can be made part of investigations and resolved. I have linked this thread with the logged issue so that you be notified automatically once the fix is available.