Click or drag to resize

ImapLoginCRAMAsync Method

Logs user in using AUTHENTICATE CRAM-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task LoginCRAMAsync(
	string user,
	string password
)

Parameters

user
Type: SystemString
User's login.
password
Type: SystemString
User's password.

Return Value

Type: Task
A task that represents the asynchronous login operation.
Exceptions
ExceptionCondition
ImapResponseExceptionThrows ImapResponseException on error response.
See Also