Authenticates the user to the POP3 server.
Namespace:
Rebex.Net
Assembly:
Rebex.Pop3 (in Rebex.Pop3.dll)
Syntax
Visual Basic |
---|
Public Sub Login ( _ userName As String, _ password As String _ ) |
C# |
---|
public void Login( string userName, string password ) |
Parameters
- userName
- Type: System..::..String
User name.
- password
- Type: System..::..String
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.