ews-cpp icon indicating copy to clipboard operation
ews-cpp copied to clipboard

Find mailing group members (ExpandDL)

Open alexandrumc opened this issue 4 years ago • 2 comments

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)

alexandrumc avatar Mar 07 '21 19:03 alexandrumc

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

idolum avatar Mar 15 '21 14:03 idolum

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 ItemId child element for the expansion of a private distribution list

As return value

  • a list of Mailbox-es as member of the distribution list

idolum avatar Mar 15 '21 16:03 idolum