Using the same test email and loading from a .msg into a MailMessage:
Version 22.1.0 sets the From.Address property as per the original file.
Version 22.2.0 and up to the current version 22.11.0 set the From.Address property to an empty string.
This is not an Aspose.Email bug, but expected behavior after improvement. The source file contains an Exchange-formatted sender address that cannot be assigned to the From field in MailMessage. So for the match to be displayed in Outlook, the From field contains only the DisplayName value. If you want to see the address of the From field in SMTP format, you can use the KeepOriginalEmailAddresses setting, as shown below. But in this case, there will be a difference when this message is displayed in Outlook.
Yes, the EMAILNET-40537 ticket is mentioned in the table, but it isn’t mentioned that it is a breaking change. This is an oversight from our side. Sorry for the inconvenience.
Thank you.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.