The code did originally run with no errors. When the server was relocated to a new subnet network, we now receive errors. The server name can be resolved to an IP address at a command line.
Any suggestions of what is causing this problem?
Thank you!
2017-04-26 09:04:27.1798|NLog.LoggerImpl.Write|Error: Unable to retrieve messages for : ******@s******d.com because : Rebex.Net.TlsException: Server certificate was rejected by the verifier because it is bad. ---> Rebex.Net.TlsException: Server certificate was rejected by the verifier because it is bad.
at gbMKS.QsaHcZ.1GG6Jr(String , CertificateChain )
at gbMKS.QsaHcZ.RYVUe(Byte[] , Int32 , Int32 , 1RjReZZ )
at gbMKS.QsaHcZ.OnHandshakeReceived(Byte[] buffer, Int32 offset, Int32 count)
at gbMKS.1UaphuZ.2YjOc(Byte[] , Int32 , Int32 )
at gbMKS.1UaphuZ.1rsOcLZ()
--- End of inner exception stack trace ---
at gbMKS.1UaphuZ.1rsOcLZ()
at gbMKS.1UaphuZ.qzm1d()
at gbMKS.PTlOCZ.sjyGnZ(TlsParameters )
at Rebex.Net.Pop3.Connect(String serverName, Int32 serverPort, TlsParameters parameters, Pop3Security security)
at EmailInputServiceLib.EmailInputManager.RunPop3()