Click or drag to resize

SmtpStartTLSAsync Method

Sends 'STARTTLS' command and initializes SSL/TLS connection (issues EHLO command afterward).

Namespace:  Limilabs.Client.SMTP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task StartTLSAsync()

Return Value

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