This sample authenticates an email address and password entered from the console, creates a pull subscription in the authenticated user's Inbox folder on the Exchange server, and monitors the Inbox for new mail, items created, and items deleted.

Prerequisites

This sample requires the following:

Note: The sample assumes that the assembly is in the default download directory. You will need to verify the path before you run the solution.

Key components of the sample

This sample contains the following files:

Configure the sample

Follow these steps to configure the Exchange 2013: Set pull notifications for applications programmatically sample.

  1. Set the startup project to Ex15_SetPullNotifications_CS by selecting the project in the Solution Explorer and choosing "Set as StartUp Project" from the Project menu.
  2. Ensure that the reference path for the Microsoft.Exchange.WebServices.dll points to where the DLL is installed on your local computer.

Build the sample

Run and test the sample

Related content

Change log

First release.