Подключение к Exchange Server с использованием WebDav
Contents
[
Hide
]
Aspose.Email предоставляет возможность для Exchange 2003 и 2007 с использованием протокола WebDAV, предлагая класс ExchangeClient. В этой статье показано, как создать экземпляр ExchangeClient, и тот же метод может быть использован. Следующий фрагмент кода показывает, как подключиться с использованием 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; | |
} |