This commit is contained in:
2019-07-08 18:01:36 +00:00
parent 021199a2f4
commit c95b421924
3 changed files with 52 additions and 1 deletions

View File

@@ -766,6 +766,9 @@ namespace rockfishCore.Util
{
// Accept all SSL certificates
client.ServerCertificateValidationCallback = (s, c, h, e) => true;
//case 3667 fix for intermittent cert issue hopefully
//https://github.com/jstedfast/MailKit/issues/515#issuecomment-439438242
client.CheckCertificateRevocation = false;
//client.Connect(MAIL_IMAP_ADDRESS, MAIL_IMAP_PORT, true);
if (mirrorServer)
client.Connect(MAIL_MIRROR_IMAP_ADDRESS, MAIL_IMAP_PORT);