GemBox.Email is a .NET component that enables you to read, write, receive, and send emails from your .NET applications using one simple API.

SSL Certificate Validation with IMAP

By default, ImapClient tries to connect to a mail server using Secure Sockets Layer (SSL) connection. If successful, it will do basic certifacte validation, but for advanced uses, the GemBox.Email component provides a way to do custom certificate validation.

The following example shows how to validate a certificate using a custom method delegate, which is specified in the ImapClient constructor.