Outlook MapiMessage.FromFile issue - index out of range exception opening valid file

Hi,

We are using Aspose Email 3.3.0.0 in our product and have run into an issue reading an email message (attached in the zip file) using Aspose.Email.Outlook.mapiMessage.FromFile(string filename);

MapiMessage msg = MapiMessage.FromFile(file.FullName);

The exception is thrown in your dll:

(PID=1524) System.IndexOutOfRangeException:Index was outside the bounds of the
array.
at ‘.‘.(Byte[] src, Byte[]&
dst)
at ‘..•(Byte[] , IMapiPropertyContainer )
at
‘..•(IMapiPropertyContainer , , – )
at
Aspose.Email.Outlook.MapiMessageReader.ReadMessage()
at
Aspose.Email.Outlook.MapiMessage.FromFile(String path)

The email message is valid and can be opened in Outlook. Can you try using our attached file in one of your test programs and tell us if there’s a work around or if the issue has been fixed in a later version.

Thanks.




Hi DL,


I was able to reproduce this issue at my end using the latest version of Aspose.Email for .NET 3.9.0 and have logged it as NETWORKNET-34304 in our bug tracking system for further investigation by our development team. We’ll update you here once there is a fix version available for this issue.

We regret the inconvenience caused to you.

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


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