Click or drag to resize

SmtpLoginDIGESTAsync(String, String, String, CancellationToken) Method

Logs user in using AUTH DIGEST-MD5 command. This method does NOT send the password in clear text.

Namespace: Limilabs.Client.SMTP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task LoginDIGESTAsync(
	string user,
	string password,
	string uri,
	CancellationToken cancel = default
)

Parameters

user  String
User's login.
password  String
User's password.
uri  String
Host and service name (host ["/" service-name]) part of digest-uri parameter, if null realm is used.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

Task
A task that represents the asynchronous login operation.
Exceptions
ExceptionCondition
SmtpResponseExceptionThrows SmtpResponseException on error response.
See Also