private static bool RemoteCertificateValidationHandler(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; // Ignore the checks and go ahead } // ExEnd:DownloadMessagesFromExchangeServerFoldersRecursively