Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Closed Feature: Connection failed, Bypassing the server certficate validation [1520]

$
0
0
Hi,

client.Connection();

fails with an AuthenticationException "The remote certificate is invalid according to the validation procedure." then it continues with ArgumentException: "Stream was not readable." and finally ImapException: "dont connect". This last exception is the one that is caught by my try-catch.

I understand the remote certification but is there a way to pass a parameter to accept it?
Another enhancement would be to let the initial error surface rather than the last one.

Great work anyway!

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>