Authenticates the user to the POP3 server using the specified authentication method.
Namespace:
Rebex.Net
Assembly:
Rebex.Pop3 (in Rebex.Pop3.dll)
Syntax
Visual Basic |
---|
Public Sub Login ( _ userName As String, _ password As String, _ method As Pop3Authentication _ ) |
C# |
---|
public void Login( string userName, string password, Pop3Authentication method ) |
Parameters
- userName
- Type: System..::..String
User name.
- password
- Type: System..::..String
Password.
- method
- Type: Rebex.Net..::..Pop3Authentication
Authentication method.