Hello,
I can't get your example: http://www.aspose.com/documentation/.net-components/aspose.network-for-.net/get-contacts-information-from-exchange-server.html to work.
At first i get the error "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.".
When i add:
ServicePointManager.ServerCertificateValidationCallback += new System.Net.Security.RemoteCertificateValidationCallback(RemoteCertificateValidationHandler);
// this event handler will be called when SSL certificate is verified
private static bool RemoteCertificateValidationHandler(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
return true; //ignore the checks and go ahead
}
The error "The remote server returned an error: (440) Login Timeout." occurs.
I just can't get it to work. Please help.
I need to list all contact that are on our Exchange Server. Perhaps there is another way?
Regards,
Jan Stolk.