OpenPop.NET POP3 Library Documentation

Pop3Client.Authenticate(String, String, AuthenticationMethod) Method

Authenticates a user towards the POP server using some AuthenticationMethod.

public void Authenticate(
   string username,
   string password,
   AuthenticationMethod authenticationMethod


The username
The user password
The way that the client should authenticate towards the server


Exception Type Condition
NotSupportedException If Apop is used, but not supported by the server
InvalidLoginException If the user credentials was not accepted
PopServerLockedException If the server said the the mailbox was locked
ArgumentNullException If username or password is a null reference
LoginDelayException If the server rejects the login because of too recent logins

See Also

Pop3Client Class | OpenPop.Pop3 Namespace | Pop3Client.Authenticate Overload List