Address property of From property is empty

Hello,


we are trying to load an Aspose MailMessage (MailMessage.Load(…)) from an given msg-File, but the Address property of the From property is always empty.
The msg-File was exported/saved from the Sent-Folder in Microsoft Outlook 2016.
Only the DisplayName property is filled.
The Sender property is null.
Exporting/saving of an msg-File from the Inbox-Folder in Outlook and loading works fine.

A test msg-File is attached.
Used Aspose.Email version is 5.7.0, but it’s also not working with 6.0.0

Can you please provide us some help/information?

Greetings and thanks!

Hi Christian,


Thank you for writing to Aspose support team.

I have tested the message and observed the issue. It is logged under Id:EMAILNET-35074 for further investigation by the product team. You will be automatically notified once any feedback is received in this regard.


Hi Aspose-Team,


do you have any further information when the fix will be released. Our customers waiting for a bugfix for this issue ;(

Greetings

Hi Christian,

The issue has been fixed and will be available in the upcoming release of Aspose.Email for .NET 6.2.0 that is due for release in the first week of next month. We’ll update you here as the fix version is available for download.

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


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

Hi Christian,


Please try the latest version of the API for a fix related to this issue. Please note that if mail.From.Address is empty, you may check the property mail.From.OriginalAddressString for information.

Hi Aspose-Team,

thanks for the release, but the Address property of the From property is still empty ;( I have tested it with the new Version 6.2.0 and the initial attached Test msg-File and many other msg-Files. Loading MailMessage by Stream (what we usually do) does also not work.

In the From.OriginalAddressString the address could be found, but we don’t want to extract the address from this string (by regex or something), that’s to error-prone and nonprofessional, because the content is something like:

"/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=87000efcdb3847dcaf63a2037928180b-test@test.com "

Why can’t the property be filled, if the information exists?

In received Emails the OriginalAddressString content is very different from sent ones.

Greetings,

Christian

Hi Christian,


We have discussed this issue and observed that as sender address type is EX, therefore it can’t be stored in “From” field which is of type MailAddress. You have to check if From filed is empty, then retrieve information from OriginalAddressString.

Should you have any other query in this regard, please feel free to write us back.