Click or drag to resize
MimeKit

SmtpClientConnectAsync Method

Overload List
 NameDescription
Public methodConnectAsync(Uri, CancellationToken) Asynchronously establish a connection to the specified mail server.
Public methodConnectAsync(String, Int32, Boolean, CancellationToken) Asynchronously establish a connection to the specified mail server.
Public methodCode exampleConnectAsync(String, Int32, SecureSocketOptions, CancellationToken) Asynchronously establish a connection to the specified SMTP or SMTP/S server.
Public methodConnectAsync(Socket, String, Int32, SecureSocketOptions, CancellationToken) Asynchronously establish a connection to the specified SMTP or SMTP/S server using the provided socket.
Public methodConnectAsync(Stream, String, Int32, SecureSocketOptions, CancellationToken) Asynchronously establish a connection to the specified SMTP or SMTP/S server using the provided socket.
Top
See Also