Click or drag to resize

ImapConnectSSLAsync(String, CancellationToken) Method

Connects to IMAP server using SSL/TLS on port 993.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task ConnectSSLAsync(
	string host,
	CancellationToken cancel = default
)

Parameters

host  String
Target host name or IP address.
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 connect operation.
Exceptions
ExceptionCondition
ServerExceptionDNS resolving error, connection error.
ImapResponseExceptionInitial error response.
See Also