Missing MailMessage.From.Address in local email messages

We are using Aspose.Email.dll ver. 22.8 to parse email metadata as follows:

var options = options = new MsgLoadOptions();
var message = MailMessage.Load("test.msg", options);
var fromAddress = message.From.Address;

In Aspose.Email.dll ver. 20.4, which we were using before upgrading to 22.8, the Address property was filled. Now, it is empty for the same (locally sent with Exchange) email.

I am attaching the .msg file to test this.

Please let us know when this issue will be fixed.

test.msg.zip (26.1 KB)

@Eva_M

We have logged this problem in our issue tracking system as EMAILNET-40690. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@Eva_M

It is to inform you that the issue you are facing is not a bug in Aspose.Email. It is expected behavior. The original message contains an address in Exchange format that does not make sense in a MailMessage (EML format). We cannot change the behavior because other users will have problems, but you can use following code example to achieve your requirement.

var msg = MapiMessage.Load("test.msg");
var options = new MailConversionOptions();
if (msg.SenderAddressType == "EX")
    options.KeepOriginalEmailAddresses = true;
var eml = msg.ToMailMessage(options);
var fromAddress = eml.From.Address;