andyedinborough/aenetmail — pull request #25 by rix0rrr (2012-02-01 17:02:29+00:00)
Title: Fixed two NullReferenceExceptions

That can occur if Dispose() is called and Connect() hasn't succeeded.

This typically happens when using the using() construct:

using (var pop3 = new Pop3Client())
{
pop3.Connect(...); # Fails for some reason

} # Throws a NullReferenceException here