IndexOutOfRangeException: MapiMessage.ConversationTopic

MapiMessage.ConversationTopic is throwing this exception:

System.IndexOutOfRangeException was caught
Message=Index was outside the bounds of the array.
Source=Aspose.Network
StackTrace:
at .‘.(Byte[] , String )
at ..ˆ(Byte[] )
at Aspose.Network.Outlook.MapiProperty.GetString()
at Aspose.Network.Outlook.MapiPropertyContainer.TryGetPropertyString(Int64 tag)
at Aspose.Network.Outlook.MapiMessage.get_ConversationTopic()

You may want to use a try/catch block here.

Thank you,

Rob

It turns out MapiMessage.Subject can throw the same IndexOutOfRange exception that ConversationTopic (noted above) throws. I can reproduce these errors using the attached MSG file.

What will it take to address these issues?

Thank you,

Rob

Hi Rob,

Thanks for posting the issue. I have reproduced it at my end with the sample file and logged this issue (ID: 29934). We will look into it and will inform you when it gets resolved. Sorry for the inconvenience.

The issues you have found earlier (filed as 29934 ) have been fixed in [this update](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry325827.aspx).

This message was posted using Notification2Forum from Downloads module by aspose.notifier.