Pop3.Login Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9147)
Login(Pop3Authentication)
Authenticates the user to the POP3 server using the specified authentication method that does not require credentials (NTLM or GSSAPI). Only supported on Windows.
Declaration
public void Login(Pop3Authentication method)
Parameters
Type | Name | Description |
---|---|---|
Pop3Authentication | method | Authentication method. |
Login(GssApiProvider)
Authenticates the user to the POP3 server using the specified GSSAPI provider. Only supported on Windows and partially on Mono.
Declaration
public void Login(GssApiProvider provider)
Parameters
Type | Name | Description |
---|---|---|
GssApiProvider | provider | GSSAPI provider. |
Login(String, String, Pop3Authentication)
Authenticates the user to the POP3 server using the specified authentication method.
Declaration
public void Login(string userName, string password, Pop3Authentication method)
Parameters
Type | Name | Description |
---|---|---|
String | userName | User name. |
String | password | Password. |
Pop3Authentication | method | Authentication method. |
Login(String, Pop3Authentication)
Authenticates the user to the POP3 server using an OAuth token.
Declaration
public void Login(string token, Pop3Authentication method)
Parameters
Type | Name | Description |
---|---|---|
String | token | Authentication token. |
Pop3Authentication | method | Authentication method (only OAuth 2.0 is supported at the moment). |
Login(String, String)
Authenticates the user to the POP3 server.
Declaration
public void Login(string userName, string password)
Parameters
Type | Name | Description |
---|---|---|
String | userName | User name. |
String | password | Password. |
Remarks
This method tries to authenticate using one of the following methods in this order of preference: CRAM-MD5, DIGEST-MD5, APOP, PLAIN, LOGIN, ClearText.