I have used a registry fix to work on an IMAP issue of one of my client. The following error message I have found when I use Microsoft Remote Connectivity Analyzer
The certificate couldn’t be validated because SSL negotiation wasn’t successful
Go to the following registry settings:
Change the existing value from 1:0:635797425487970123
Restart the IMAP windows services and you are done !