Click or drag to resize

SmtpLoginAsync Method

Logs user in using AUTH LOGIN command. This method sends the password in clear text (BASE64), unless SSL/TLS connection is used.

Namespace:  Limilabs.Client.SMTP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task LoginAsync(
	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
SmtpResponseExceptionThrows SmtpResponseException on error response.
See Also