Added the possibility to skip ssl certificate validation process if needed. #43

merged 1 commit into from Mar 4, 2012


None yet

2 participants

piher commented Mar 3, 2012

Added a mandatory bool parameter skipSslValidation in TextClient Connect method, specifying if, when using ssl, the certificate validation step should be skipped.
Added a corresponding bool parameter in ImapClient and Pop3Client as an optional parameter so that previous codes won't change.
The default behavior is not to skip the certificate validation step. If the validation should be skipped, it has to be explicitly specified when creating the ImapClient or Pop3Client.

See issue #40 for details.

@andyedinborough andyedinborough merged commit 4a8c7f2 into andyedinborough:master Mar 4, 2012

Cool. Should we add an overload for Connect(...) that allows a delegate to be passed in for validation?

piher commented Mar 4, 2012

Why not, I guess it wouldn't change anything for most people but could be very useful to a few.
After all, if the .net framework offers to do so there must be a reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment