SmtpClientConnectAsync Method

Overload List

ConnectAsync(Uri, CancellationToken) Asynchronously establish a connection to the specified mail server.
ConnectAsync(String, Int32, Boolean, CancellationToken) Asynchronously establish a connection to the specified mail server.
ConnectAsync(String, Int32, SecureSocketOptions, CancellationToken) Asynchronously establish a connection to the specified SMTP or SMTP/S server.
ConnectAsync(Socket, String, Int32, SecureSocketOptions, CancellationToken) Asynchronously establish a connection to the specified SMTP or SMTP/S server using the provided socket.
ConnectAsync(Stream, String, Int32, SecureSocketOptions, CancellationToken) Asynchronously establish a connection to the specified SMTP or SMTP/S server using the provided socket.

See Also