Get Messages from a Shared Mailbox
Contents
[
Hide
]
Aspose.Email supports accessing messages from the shared mailbox. To achieve this, you connect to your primary mailbox by using the EWSClient class. To access messages from the shared mailbox, you pass the shared mailbox as a string parameter to the ListMessages or ListItems method.
The following code sample shows how to access messages from the shared mailbox using the ListItems method.