The SmtpExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBeginConnect(Smtp, String, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the SMTP server.
Public methodStatic memberBeginConnect(Smtp, String, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the SMTP server with the specified security. Uses port 25 for no SSL, 587 for explicit SSL and 465 for implicit SSL.
Public methodStatic memberBeginConnect(Smtp, String, Int32, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the SMTP server.
Public methodStatic memberBeginConnect(Smtp, String, Int32, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the SMTP server with the specified security.
Public methodStatic memberBeginConnect(Smtp, String, Int32, TlsParameters, SmtpSecurity, AsyncCallback, Object) Obsolete.
Public methodStatic memberBeginDisconnect
Begins asynchronous Disconnect operation. Informs the server that the connection is about to close and terminates the connection.
Public methodStatic memberBeginEnhancedTurn Obsolete.
Public methodStatic memberBeginKeepAlive
Begins asynchronous KeepAlive operation. Sends the NOOP command to the server to keep the connection alive.
Public methodStatic memberBeginLogin(Smtp, GssApiProvider, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the SMTP server using the specified GSSAPI provider. Only supported on Windows and partially on Mono.
Public methodStatic memberBeginLogin(Smtp, SmtpAuthentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the SMTP server using the specified authentication method that does not require credentials (NTLM or GSSAPI). Only supported on Windows.
Public methodStatic memberBeginLogin(Smtp, String, SmtpAuthentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the SMTP server using an OAuth token.
Public methodStatic memberBeginLogin(Smtp, String, String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the SMTP server.
Public methodStatic memberBeginLogin(Smtp, String, String, SmtpAuthentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the SMTP server using the specified authentication method.
Public methodStatic memberBeginReadResponse
Begins asynchronous ReadResponse operation. Returns the response of the SMTP server to the command.
Public methodStatic memberBeginSecure(Smtp, AsyncCallback, Object)
Begins asynchronous Secure operation. Secures the connection with TLS/SSL using default parameters.
Public methodStatic memberBeginSecure(Smtp, TlsParameters, AsyncCallback, Object) Obsolete.
Public methodStatic memberBeginSend(Smtp, MailMessage, AsyncCallback, Object)
Begins asynchronous Send operation. Sends a mail message (MailMessage).
Public methodStatic memberBeginSend(Smtp, MimeMessage, AsyncCallback, Object)
Begins asynchronous Send operation. Sends a mail message (MimeMessage).
Public methodStatic memberBeginSend(Smtp, Stream, AsyncCallback, Object)
Begins asynchronous Send operation. Reads and sends a mail message from the specified stream in MIME format.
Public methodStatic memberBeginSend(Smtp, String, AsyncCallback, Object)
Begins asynchronous Send operation. Reads and sends a mail message from the specified local file in MIME format.
Public methodStatic memberBeginSend(Smtp, MailMessage, String, String, AsyncCallback, Object)
Begins asynchronous Send operation. Sends a mail message (MailMessage).
Public methodStatic memberBeginSend(Smtp, MimeMessage, String, String, AsyncCallback, Object)
Begins asynchronous Send operation. Sends a mail message (MimeMessage).
Public methodStatic memberBeginSend(Smtp, Stream, String, String, AsyncCallback, Object)
Begins asynchronous Send operation. Reads and sends a mail message from the specified stream in MIME format.
Public methodStatic memberBeginSend(Smtp, String, String, String, AsyncCallback, Object)
Begins asynchronous Send operation. Reads and sends a mail message from the specified local file in MIME format.
Public methodStatic memberBeginSend(Smtp, String, String, String, String, AsyncCallback, Object)
Begins asynchronous Send operation. Sends a mail message constructed from the specified parameters.
Public methodStatic memberBeginSendCommand
Begins asynchronous SendCommand operation. Executes a command on the SMTP server.
Public methodStatic memberBeginVerify Obsolete.
Public methodStatic memberEndConnect
Ends an asynchronous BeginConnect operation.
Public methodStatic memberEndDisconnect
Ends an asynchronous BeginDisconnect operation.
Public methodStatic memberEndEnhancedTurn Obsolete.
Public methodStatic memberEndKeepAlive
Ends an asynchronous BeginKeepAlive operation.
Public methodStatic memberEndLogin
Ends an asynchronous BeginLogin operation.
Public methodStatic memberEndReadResponse
Ends an asynchronous BeginReadResponse operation.
Public methodStatic memberEndSecure
Ends an asynchronous BeginSecure operation.
Public methodStatic memberEndSend
Ends an asynchronous BeginSend operation.
Public methodStatic memberEndSendCommand
Ends an asynchronous BeginSendCommand operation.
Public methodStatic memberEndVerify Obsolete.

See Also