Yes, there is a way. This requires a slight code change, this is the POPClient class.
1. SslStream, , , .
SslStream stream = new SslStream(clientSocket.GetStream(), false);
POPClient, Connect
SslStream stream = new SslStream(clientSocket.GetStream(), false, new RemoteCertificateValidationCallback(ValidateServerCertificate), null);
2. , , , true:
public static bool ValidateServerCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
return true;
}
, , msdn.