Connecting to Exchange Server using WebDav
Contents
[
Hide
]
Aspose.Email provides the capability to Exchange 2003 and 2007 using WebDAV protocol by exposing the ExchangeClient class. This article shows how to instantiate ExchangeClient and the same method can be used. The following code snippet shows you how to connect using ExchangeClient.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-email/Aspose.Email-for-.NET | |
static ExchangeClient GetExchangeClient() | |
{ | |
// Create instance of ExchangeClient class by giving credentials | |
ExchangeClient client = new ExchangeClient("http://MachineName/exchange/Username", "Username", "password", "domain"); | |
return client; | |
} |