I am enumerating senders/recipients of emails in a PST but want to avoid using .ExtractMessage for performance reasons. I can use .ExtractProperty to obtain PR_SENDER_EMAIL_ADDRESS_W but when I extract PR_MESSAGE_RECIPIENTS it always returns null despite there being recipients.
Can anyone provide guidance on how to extract the recipients from an email without the overhead of .ExtractMessage?
Thank you for contacting Aspose.Email support forum.
According to the documentation, PR_MESSAGE_RECIPIENTS is not intended to get recipients. Each recipient is a separate object, so they cannot be retrieved with a single property.
Unfortunately, we don’t have a method to retrieve a collection of recipients separately, but we can consider implementing one.
Alternatively, you can use the PR_DISPLAY_TO property, however, it should be noted it only returns a string list of recipient’s display names.
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.