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.