Conexión al servidor Exchange utilizando WebDav
Contents
[
Hide
]
Aspose.Email proporciona la capacidad para Exchange 2003 y 2007 utilizando el protocolo WebDAV al exponer la clase ExchangeClient. Este artículo muestra cómo instanciar ExchangeClient y se puede usar el mismo método. El siguiente fragmento de código muestra cómo conectar utilizando ExchangeClient.
This file contains hidden or 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; | |
} |