Working with Distribution Lists on Exchange Server
Working with Distribution Lists
Aspose.Email API provides the capability to create and read distributions lists from the Exchange server. Distribution lists can be created on the server as well as members can be added to it using the IEWSClient. This article shows how to work with distribution lists on the Exchange server.
Creating Distribution List
The following code snippet shows you how to create a distribution list.
Fetch Private Distribution List
The following code snippet shows you how to fetch a private distribution list.
Create MailAddress from Distribution List Id
The following code snippet shows you how to create MailAddress from distribution list Id.
Expand Public Distribution List
The following code snippet shows you how to expand the public distribution List.
Adding members
Adding members to Private Distribution List
The following code snippet shows you how to add members to a private distribution list.
Add members without listing
The following code snippet shows you how to add members without listing.
Send to Private Distribution List
The following code snippet shows you how to send a message to a private distribution list.
Deleting members
Deleting members from Private Distribution List
The following code snippet shows you how to delete members from a private distribution list.
Delete members without listing
The following code snippet shows you how to delete members without listing.
Delete Private Distribution List
The following code snippet shows you how to delete a private distribution list.
Delete without Listing
The following code snippet shows you how to delete without listing.