Hi,
Can we use this API to create list on Exchange List? We want to create list of our choice with contacts.
Hi,
Can we use this API to create list on Exchange List? We want to create list of our choice with contacts.
Hi Acton,
IEWSClient client = EWSClient.GetClient(“Exchange Server URL”, “Username”, “Password”);
ExchangeDistributionList distributionList = new ExchangeDistributionList();
distributionList.DisplayName = “test private list”;
members = new MailAddressCollection();
members.Add("address1@host.com");
members.Add("address2@host.com");
members.Add("address3@host.com");
client.CreateDistributionList(distributionList, members);