Smtp Properties |
The Smtp type exposes the following members.
Name | Description | |
---|---|---|
AllowPartialSending | Obsolete.
Gets or sets the value indicating if SendMessage(IMail) and SendMessage(SmtpMail) should send message
even if some recipients were rejected.
Setting this value to true when Pipelining is used improves performance.
Default is false.
| |
Configuration |
Gets or sets SMTP protocol configuration.
| |
Connected |
Gets a value indicating whether the underlying Socket is connected to a remote host.
This property makes a nonblocking, zero-byte Send call to determine the current state of the connection.
(Inherited from ClientBase.) | |
CustomHost | Obsolete.
Gets or sets the value, which, if set, is used when sending HELO or EHLO commands.
| |
DeliveryNotification | Obsolete.
Gets or sets the delivery notification options (Delivery Status Notifications, DSN) for email.
Available when DSN is reported by SupportedExtensions.
| |
DisableValidation | Obsolete.
Gets or sets the value indicating if SmtpMail instance validation is performed before sending.
It ensures that the message has a sender, at least one recipient and a body.
Default is false.
| |
EnableChunking | Obsolete.
Gets or sets the value indicating if Chunking should be used when sending messages.
Default is true.
| |
EnablePipelining | Obsolete.
Gets or sets the value indicating if Pipelining should be used when sending messages.
Default is true.
| |
InstanceId |
Gets a randomly generated unique id that identifies this instance.
(Inherited from ClientBase.) | |
IsCompressed |
Gets a Boolean value that indicates whether communication to the remote server is compressed.
You can turn compression on by using Compress method.
(Inherited from ClientBase.) | |
IsEncrypted |
Gets a Boolean value that indicates whether communication to the remote server is encrypted.
(Inherited from ClientBase.) | |
IsMutuallyAuthenticated |
Gets a Boolean value that indicates whether communication to the remote server is mutually authenticated.
(Inherited from ClientBase.) | |
IsSigned |
Gets a Boolean value that indicates whether communication to the remote server is signed.
(Inherited from ClientBase.) | |
ReadStream |
Gets underlying read stream for current connection.
(Inherited from ClientBase.) | |
ReceiveTimeout |
Gets or sets the amount of time the underlying Socket will wait to receive data once a read operation is initiated.
(Inherited from ClientBase.) | |
SendTimeout |
Gets or sets the amount of time the underlying Socket will wait for a send operation to complete successfully.
(Inherited from ClientBase.) | |
ServerGreeting |
Gets the server greeting (initial response).
| |
Socket |
Gets the underlying Socket.
(Inherited from ClientBase.) | |
SSLConfiguration |
Gets SSL/TLS configuration (client certificates, enabled SSL/TLS protocols).
(Inherited from ClientBase.) | |
WriteStream |
Gets underlying write stream for current connection.
(Inherited from ClientBase.) |