Free Support Forum - aspose.com

Using the ExchangeClient object from Aspose.Network.Exchange

When creating a connection to a MS Exchange server using the ExchangeClient object, how to you let the ExchangeClient object know you're trying to connect over SSL?

Code Example:

Aspose.Network.Exchange.ExchangeClient client = new ExchangeClient("https://exchangeServerName/exchange/bobsmith/", "","","");

This is throwing the following exception:

{"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."}

Any insights would be helpful.

Hi,

Aspose.Network currently does not support Exchange server on SSL. We will provide this feature in coming releases.

Can you provide more details about your environment and exchange server setup with SSL? That would help in gathering the requirements and implementing this feature.