SmtpClient Class |
Namespace: GemBox.Email.Smtp
The SmtpClient type exposes the following members.
Name | Description | |
---|---|---|
SmtpClient(String) |
Initializes new instance of SmtpClient class with specified host address.
| |
SmtpClient(String, Boolean) |
Initializes new instance of SmtpClient class with specified host address, ConnectionSecurity option and option to ignore SSL certificate errors.
| |
SmtpClient(String, Int32) |
Initializes new instance of SmtpClient class with specified host address and port number.
| |
SmtpClient(String, ConnectionSecurity, Boolean) |
Initializes new instance of SmtpClient class with specified host address, ConnectionSecurity option and option to ignore SSL certificate errors.
| |
SmtpClient(String, Int32, ConnectionSecurity) |
Initializes new instance of SmtpClient class with specified host address, port number and ConnectionSecurity option.
| |
SmtpClient(String, Int32, ConnectionSecurity, RemoteCertificateValidationCallback) |
Initializes new instance of SmtpClient class with specified host address, port number, ConnectionSecurity option and host certificate validation delegate method.
|
Name | Description | |
---|---|---|
ConnectTimeout |
Gets or sets the connect timeout.
| |
Host |
Gets the server address.
| |
IsAuthenticated |
Gets whether or not client is authenticated.
| |
IsConnected |
Gets whether or not client is connected to the server.
| |
LocalDomain |
Gets or sets the local domain.
| |
LocalEndPoint |
Gets or sets the local IP address and port.
| |
LogOutput |
Gets or sets the log output writer.
| |
Port |
Gets the server IP port.
| |
ReadTimeout |
Gets or sets the read timeout.
| |
Security |
Gets the current connection security mode.
| |
SupportedAuthentications |
Gets collection of supported authentication mechanisms.
| |
SupportedCapabilities |
Gets the collection of supported capabilities.
| |
WriteTimeout |
Gets or sets the write timeout.
|
Name | Description | |
---|---|---|
Authenticate(String, String) |
Authenticates client with specified user name and password.
| |
Authenticate(String, String, SmtpAuthentication) |
Authenticates client with specified user name, password and SmtpAuthentication mechanism.
| |
Connect |
Connects to the server.
| |
Disconnect |
Disconnects client from the server.
| |
Dispose |
Disconnects client from the server and disposes all used resources.
| |
KeepAlive |
Executes NOOP command.
| |
SendMessage |
Sends the message.
|
Name | Description | |
---|---|---|
Terminated |
Occurs when connection with server is terminated.
|