Click or drag to resize

SmtpClient Properties

The SmtpClient type exposes the following members.

Public propertyCode exampleAuthenticationMechanisms
Get the authentication mechanisms supported by the SMTP server.
(Overrides MailServiceAuthenticationMechanisms.)
Public propertyCode exampleCapabilities
Get the capabilities supported by the SMTP server.
Public propertyCheckCertificateRevocation
Get or set whether connecting via SSL/TLS should check certificate revocation.
(Inherited from MailService.)
Public propertyClientCertificates
Gets or sets the client SSL certificates.
(Inherited from MailService.)
Public propertyDeliveryStatusNotificationType
Get or set how much of the message to include in any failed delivery status notifications.
Public propertyIsAuthenticated
Get whether or not the client is currently authenticated with the SMTP server.
(Overrides MailServiceIsAuthenticated.)
Public propertyCode exampleIsConnected
Get whether or not the client is currently connected to an SMTP server.
(Overrides MailServiceIsConnected.)
Public propertyIsSecure
Get whether or not the connection is secure (typically via SSL or TLS).
(Overrides MailServiceIsSecure.)
Public propertyLocalDomain
Gets or sets the local domain.
Public propertyLocalEndPoint
Get or set the local IP end point to use when connecting to the remote host.
(Inherited from MailService.)
Public propertyCode exampleMaxSize
Get the maximum message size supported by the server.
Protected propertyProtocol
Get the protocol supported by the message service.
(Overrides MailServiceProtocol.)
Public propertyProtocolLogger
Get the protocol logger.
(Inherited from MailService.)
Public propertyProxyClient
Get or set the proxy client to use when connecting to a remote host.
(Inherited from MailService.)
Public propertyCode exampleServerCertificateValidationCallback
Get or sets a callback function to validate the server certificate.
(Inherited from MailService.)
Public propertySslProtocols
Gets or sets the SSL and TLS protocol versions that the client is allowed to use.
(Inherited from MailService.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the SMTP server.
(Overrides MailServiceSyncRoot.)
Public propertyTimeout
Get or set the timeout for network streaming operations, in milliseconds.
(Overrides MailServiceTimeout.)
See Also