 | Pop3StartTLSAsync Method |
Sends 'STLS' command and initializes SSL/TLS connection (issues CAPA command afterwards).
Not all servers support
STLS. You can check which extensions remote server supports using
SupportedExtensions method.
Namespace: Limilabs.Client.POP3Assembly: 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 STLS operation.
Exceptions
See Also