Authenticates the user to the IMAP server using the specified authentication method.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Sub Login ( _
	userName As String, _
	password As String, _
	method As ImapAuthentication _
)
C#
public void Login(
	string userName,
	string password,
	ImapAuthentication method
)

Parameters

userName
Type: System..::..String
User name.
password
Type: System..::..String
Password.
method
Type: Rebex.Net..::..ImapAuthentication
Authentication method.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also