Click or drag to resize

SmtpUseBestLogin 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.SMTP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public void UseBestLogin(
	string user,
	string password
)

Parameters

user  String
User's login.
password  String
User's password.
Exceptions
ExceptionCondition
SmtpResponseExceptionThrows SmtpResponseException on error response.
See Also