Connecting to Exchange Server

[ ]

In order to connect to Exchange servers 2007, 2010 and 2013 using Exchange Web Service, Aspose.Email provides the EWSClient class. The GetEWSClient method instantiates and returns an IEWSClient object that is further used to perform operations related to an Exchange mailbox and other folders. This article shows how to instantiate objects of IEWSClient.

The following code snippet shows you how to connect using Exchange Web Service (EWS).