Authenticates the user to the POP3 server using an OAuth token.
Namespace:
Rebex.Net
Assembly:
Rebex.Pop3 (in Rebex.Pop3.dll)
Syntax
Visual Basic |
---|
Public Sub Login ( _ token As String, _ method As Pop3Authentication _ ) |
C# |
---|
public void Login( string token, Pop3Authentication method ) |
Parameters
- token
- Type: System..::..String
Authentication token.
- method
- Type: Rebex.Net..::..Pop3Authentication
Authentication method (only OAuth 2.0 is supported at the moment).