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

Free Support Forum - aspose.com

MailMessage.Load Exception: Array out of bounds

Hi,

I’ve recently stumbled upon an issue when calling MailMessage.Load(doc) - I get an IndexOutOfRange Exception.

It’s strange because it only happens with a few e-mails. I’ve saved the byte array to a file, and the file opens in Outlook perfectly (file.msg).

I’m using the Aspose.Email component version 4.3.0.0 (licensed).

I’ve attached some screenshots of what’s happening. This is on a production system so an urgent reply would be really appreciated!

Thanks


Hi Daniel,

Thank you for writing to Aspose support team.

I have tried to re-produce the scenario here but could not succeed as the sample message is not available. Could you please provide us the sample message which is loaded into MailMessage as it will be helpful for analysis and providing solution as soon as possible?

P.S. Please give it a try with the latest release of Aspoe.Email for .NET and provide us feedback as well.