Name | Description | |
---|---|---|
![]() | Smtp Constructor | Overloaded. Initializes a new instance of the Smtp class. |
Name | Description | |
---|---|---|
![]() | AbortTimeout | Gets or sets the length of time before the abort operation times out. |
![]() | ClientDomain | Gets or sets the domain announced by the client. |
![]() | Config | Gets or sets Smtp object settings. |
![]() | DeliveryStatusNotificationReturnMessageMethod | Gets or sets the value indicating to the SMTP server whether it should attach the entire original message or headers only. |
![]() | DeliveryStatusNotificationType | Gets or sets the bit field specifying the conditions under which the SMTP server should generate and send a delivery status notification (DSN) messages. |
![]() | EnabledFeatures | Gets or sets the bit field specifying the enabled extensions. |
![]() | Encoding | Gets or sets the Encoding to use to encode and decode command parameters and server responses. |
![]() | InstanceId | Gets instance ID (intended for logging purposes). |
![]() | InvokeFromCurrentThreads | Gets a value indicating whether to raise events from the current thread or
to use a SynchronizationContext object available when an asynchronous operation was started.
The default value is false . |
![]() | IsAuthenticated | Returns a value indicating whether the session is authenticated. |
![]() | IsBusy | Gets a value indicating whether there any operation (method) in progress. |
![]() | IsConnected | Gets a value indicating whether the session is connected. |
![]() | IsConnectionSecured | Gets the value indicating whether the control connection is secured. |
![]() | LocalEndPoint | Gets the local client EndPoint. |
![]() | LogSource | Gets or sets the source object for all log messages generated by this object. If not set, the property returns the current object. |
![]() | MaxMailSize | Gets the maximum mail message size announced by the server. |
![]() | Proxy | Gets or sets the network proxy to use to access a remote server. |
![]() | RemoteEndPoint | Gets the remote server EndPoint. |
![]() | ServerDomain | Gets the domain announced by the server. |
![]() | ServerName | Gets the server name, if available. |
![]() | ServerPort | Gets the server port, if available. |
![]() | State | Gets the current state of the Smtp object. |
![]() | SupportedFeatures | Gets the bit field specifying the extensions supported by the server. |
![]() | Timeout | Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out). |
![]() | TraceListenerManager | Gets or sets the TraceListenerManager object to which the log messages generated by this object are sent. If not set, the Default trace listener manager is used. If this property is set to null, all messages from this object wont be logged. |
![]() | TraceSource | Gets or sets the source object for all log messages generated by this object. If not set, the property returns the current object. |
![]() | UserName | Gets the authenticated user name, if available. |
Name | Description | |
---|---|---|
![]() ![]() | AlternativeExplicitSslPort | Alternative SMTP/Explicit SSL port (587). |
![]() ![]() | DefaultImplicitSslPort | Default SMTP/Implicit SSL port (465). |
![]() ![]() | DefaultPort | Default SMTP port (25). |
Name | Description | |
---|---|---|
![]() | Authenticate | Overloaded. Authenticates the user to the SMTP server using the specified authentication method that does not require credentials (NTLM or GSSAPI). |
![]() | AuthenticateAsync | Overloaded. Asynchronous authenticates the user to the SMTP server using the specified authentication method that does not require credentials (NTLM or GSSAPI). |
![]() | Cancel | Aborts the current operation. |
![]() | CheckSession | Checks whether the SMTP session is still connected. Throws an exception on error. |
![]() | Connect | Overloaded. Connects to the SMTP server. |
![]() | ConnectAsync | Overloaded. Asynchronously connects to the SMTP server. |
![]() | Disconnect | Disconnects from the SMTP server and returns exit message from the server. |
![]() | DisconnectAsync | Overloaded. Asynchronously disconnects from the SMTP server and returns exit message from the server. |
![]() | Dispose | Disposes the Smtp object and all the socket objects. |
![]() | EnhancedTurn | Instructs the server to start processing the message queue for a specified node (domain). |
![]() | EnhancedTurnAsync | Overloaded. Asynchronously sends the ETRN command to the server to start processing the message queue for a specified node (domain). |
![]() ![]() | GetDomainMXAsync | Overloaded. Asynchronously returns the list of available MX records in order of preference of the specified domain. |
![]() | GetSessionStatus | Checks whether the SMTP session is still connected and returns its state. |
![]() | GetSupportedAuthenticationMethods | Gets the list of supported authentication methods. |
![]() | KeepAlive | Sends a NOOP command to the server to keep the connection alive. |
![]() | KeepAliveAsync | Overloaded. Asynchronously sends a NOOP command to the server to keep the connection alive. |
![]() | ReadResponse | Returns the response of the SMTP server to the command. |
![]() | ReadResponseAsync | Overloaded. Asynchronously returns the corresponding response of the SMTP server to the command that was sent using the SendCommand method. |
![]() ![]() | ResolveDomainMx | Overloaded. Retrieves the list of domain's MX records from DNS and returns the list of hosts that accept its email (in order of preference). |
![]() | Send | Overloaded. Sends a mail message (MimeMessage). |
![]() | SendAsync | Overloaded. Asynchronously sends the mail message to the specified recipients. |
![]() | SendCommand | Executes a command on the SMTP server. |
![]() | SendCommandAsync | Overloaded. Asynchronously sends user-defined command to the server. |
![]() ![]() | SendDirect | Overloaded. Sends the message by submitting the message directly to the recipients' SMTP servers. |
![]() | SetSocketFactory | Sets the socket factory to be used to create communication sockets. |
![]() | ToString | Overridden. Returns a string representation of this object. |
![]() | UpgradeConnection | Overloaded. Secures the connection with TLS/SSL using default parameters. |
![]() | UpgradeConnectionAsync | Overloaded. Asynchronously secures the connection with TLS/SSL using default parameters. |
![]() | Verify | Verifies whether the server is willing to accept mail for a given recipient. |
![]() | VerifyAsync | Overloaded. Asynchronously verifies if given email address is accepted by the server without actual submitting of the message data. |
Name | Description | |
---|---|---|
![]() | AuthenticateCompleted | Occurs when an asynchronous authentication operation completes. |
![]() | CertificateReceived | Occurs when an SMTP server's certificate was received and verified. |
![]() | CertificateRequired | Occurs when a client certificate is required by the SMTP server, or the one provided was not accepted. |
![]() | CommandResponse | Occurs when a command has been sent to or a response is received from the server. |
![]() | ConnectCompleted | Occurs when an asynchronous ConnectAsync operation completes. |
![]() | DisconnectCompleted | Occurs when an asynchronous DisconnectAsync operation completes. |
![]() | EnhancedTurnCompleted | Occurs when an asynchronous EnhancedTurnAsync operation completes. |
![]() | KeepAliveCompleted | Occurs when an asynchronous KeepAliveAsync operation completes. |
![]() | Progress | Occurs when data is send or received. |
![]() | ReadResponseCompleted | Occurs when an asynchronous ReadResponseAsync operation completes. |
![]() | RejectedRecipient | Occurs when a recipient is rejected by the server. |
![]() | SendCommandCompleted | Occurs when an asynchronous SendCommandAsync operation completes. |
![]() | SendCompleted | Occurs when an asynchronous SendAsync operation completes. |
![]() | SendingMessage | Occurs when a message is being sent. |
![]() | StateChanged | Occurs when the state of the Smtp object is changed. |
![]() | UpgradeConnectionCompleted | Occurs when an asynchronous UpgradeConnectionAsync operation completes. |
![]() | VerifyCompleted | Occurs when an asynchronous VerifyAsync operation completes. |