foens / hpop

OpenPOP.NET code repository
http://hpop.sourceforge.net/
204 stars 114 forks source link

Null Pointer Exception when authentication fails #86

Open dom3551 opened 4 years ago

dom3551 commented 4 years ago

When I call the Authenticate method on the pop client, I get the following exception:

System Error : System.NullReferenceException: Object reference not set to an instance of an object. at OpenPop.Pop3.Pop3Client.CheckFailedLoginServerResponse(String serverErrorResponse, PopServerException e) at OpenPop.Pop3.Pop3Client.Authenticate(String username, String password, AuthenticationMethod authenticationMethod)

This is also stopping me from seeing the login server response - is this a bug and is there any workaround so I can see the login server response?

Thanks