Click or drag to resize

Smtp Properties

The Smtp type exposes the following members.

Properties
 NameDescription
Public propertyAllowPartialSending 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.
Obsolete
Public propertyConfiguration Gets or sets SMTP protocol configuration.
Public propertyConnected 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)
Public propertyCustomHost Gets or sets the value, which, if set, is used when sending HELO or EHLO commands.
Obsolete
Public propertyDeliveryNotification Gets or sets the delivery notification options (Delivery Status Notifications, DSN) for email. Available when DSN is reported by SupportedExtensions.
Obsolete
Public propertyDisableValidation 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.
Obsolete
Public propertyEnableChunking Gets or sets the value indicating if Chunking should be used when sending messages. Default is true.
Obsolete
Public propertyEnablePipelining Gets or sets the value indicating if Pipelining should be used when sending messages. Default is true.
Obsolete
Public propertyInstanceId Gets a randomly generated unique id that identifies this instance.
(Inherited from ClientBase)
Public propertyIsCompressed 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)
Public propertyIsEncrypted Gets a Boolean value that indicates whether communication to the remote server is encrypted.
(Inherited from ClientBase)
Public propertyIsMutuallyAuthenticated Gets a Boolean value that indicates whether communication to the remote server is mutually authenticated.
(Inherited from ClientBase)
Public propertyIsSigned Gets a Boolean value that indicates whether communication to the remote server is signed.
(Inherited from ClientBase)
Public propertyReadStream Gets underlying read stream for current connection.
(Inherited from ClientBase)
Public propertyReceiveTimeout Gets or sets the amount of time the underlying Socket will wait to receive data once a read operation is initiated.
(Inherited from ClientBase)
Public propertySendTimeout Gets or sets the amount of time the underlying Socket will wait for a send operation to complete successfully.
(Inherited from ClientBase)
Public propertyServerGreeting Gets the server greeting (initial response).
Public propertySocket Gets the underlying Socket.
(Inherited from ClientBase)
Public propertySSLConfiguration Gets SSL/TLS configuration (client certificates, enabled SSL/TLS protocols).
(Inherited from ClientBase)
Public propertyWriteStream Gets underlying write stream for current connection.
(Inherited from ClientBase)
Top
See Also