 | SmtpStartTLSAsync Method |
Sends 'STARTTLS' command and initializes SSL/TLS connection (issues EHLO command afterward).
Namespace: Limilabs.Client.SMTPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task StartTLSAsync(
CancellationToken cancel = default
)
Public Function StartTLSAsync (
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ StartTLSAsync(
CancellationToken cancel = CancellationToken()
)
member StartTLSAsync :
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous STARTLS operation.
Exceptions
See Also