A while back we bought a dll to convert a pdf to text.
Which works very well.
I’m using the dll to connect to my email server
but I get below error.
The remote certificate is invalid according to the validation procedure
Am I doing anything wrong?
Thank you for contacting Aspose Support team.
Please try ignoring/bypass the SSL certificate and share your feedback with us if it resolves your problem.
// Register callback method for SSL validation event
ServicePointManager.ServerCertificateValidationCallback += RemoteCertificateValidationHandler;
// This event handler is called when SSL certificate is verified
private static bool RemoteCertificateValidationHandler(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
return true; //Ignore the checks and go ahead
You are welcome and please feel free to write to us in case of any further query.