Find mailing group members (ExpandDL)
Hi,
Is there a way to find the members of a mailing group?
I'm looking for something similar to: https://docs.microsoft.com/en-us/previous-versions/office/developer/exchange-server-2010/hh532557(v=exchg.80)
Hi Alexandru,
my apologies for my late reply. I was busy with other projects.
ExpandDL is the EWS operation https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/expanddl-operation
But right now, this operation has not been implemented yet. I will add it for the next release. But depends on the resources available, if it gets implemented.
If you are willing to implement it and contribute to this project, I would be more than glad to assist you! I don't think that it is hard to implement it.
Best, Veit
Proposal for the function
std::vector<mailbox> expand_dl(const std::string& distribution_list_name);
std::vector<mailbox> expand_dl(const mailbox& distribution_list);
As arguments
- Mailbox element that can contain either an
EmailAddress (NonEmptyStringType)child element for an expansion of a public distribution list or - an
ItemIdchild element for the expansion of a private distribution list
As return value
- a list of
Mailbox-es as member of the distribution list