The remote certificate is invalid according to the validation procedure [duplicate]
问题 This question already has answers here : “The remote certificate is invalid according to the validation procedure.” using Gmail SMTP server (19 answers) Closed 2 years ago . Running the following code, I get an exception: using (var client = new Pop3Client()) { client.Connect(provider.ServerWithoutPort, provider.Port, true); } The Exception I get: The remote certificate is invalid according to the validation procedure. at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken