Real number of recipients

MrLynLyon 1 Reputation point
2020-12-28T16:19:11.017+00:00

Hello,

What is the best (fastest) way to estimate or calculate precisely the number of recipients of an email containing nested Exchanges mailing lists?

I have tried parsing each addressEntry of each recipient recursively, but this method is very slow. 30s for 600 recipients, which blocks my plugin.

I tried with the GetExchangeDistributionListMemebers method. It's a bit faster, but not so much.

When composing an email and adding large mailing lists, Outlook estimates the number of recipients as I want, but I don't find this property in the object model or in the proptags.

Do you have a solution?

Thank you

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,479 questions
0 comments No comments
{count} votes