SmtpStartTlsAsync Method

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntax
public Task<bool> StartTlsAsync()

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if TLS/SSL negotiation succeeded and the connection is now secured with TLS/SSL layer; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also