Click or drag to resize

Pop3UseBestLoginAsync Method

Logs user in using best method available. When no SASL capability is found, this method switches to SSL/TLS (STLS) and tries again.

Namespace:  Limilabs.Client.POP3
Assembly:  Mail (in Mail.dll) Version: 3.0.22105.1207
Syntax
public Task UseBestLoginAsync(
	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
Pop3ResponseExceptionThrows Pop3ResponseException on error response.
See Also