Click or drag to resize

ImapUseBestLogin Method

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

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

Parameters

user
Type: SystemString
User's login.
password
Type: SystemString
User's password.
Exceptions
ExceptionCondition
ImapResponseExceptionThrows ImapResponseException on error response.
See Also