Free Support Forum -

MapiMessage.ReplyTo Null Reference Bug

I have just converted a project from Aspose.Network to Aspose.Email and I’m getting a null reference error when accessing the MapiMessage.ReplyTo property. I am creating the MapiMessage object from an email dragged from Outlook. If I drag and drop an email that does have an explicit ReplyTo email it works fine, but for most emails when the following line of code is executed:

myStringVar = msg.ReplyTo

I get the message: “Object reference not set to an instance of an object”:

All other properties seem to be OK.

I have attached an image showing the problem property in debug mode.


Thank you for inquiry.

I have reproduced the issue (ID: 31152) at my end. We will look into it and will inform you when it gets fixed. Sorry for the inconvenience.

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

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