SmtpClient Properties

Properties

AuthenticationMechanisms Get the authentication mechanisms supported by the SMTP server.
(Overrides MailServiceAuthenticationMechanisms)
Capabilities Get the capabilities supported by the SMTP server.
CheckCertificateRevocation Get or set whether connecting via SSL/TLS should check certificate revocation.
(Inherited from MailService)
ClientCertificates Get or set the client SSL certificates.
(Inherited from MailService)
IsAuthenticated Get whether or not the client is currently authenticated with the SMTP server.
(Overrides MailServiceIsAuthenticated)
IsConnected Get whether or not the client is currently connected to an SMTP server.
(Overrides MailServiceIsConnected)
IsEncrypted Get whether or not the connection is encrypted (typically via SSL or TLS).
(Overrides MailServiceIsEncrypted)
IsSecure Get whether or not the connection is secure (typically via SSL or TLS).
(Overrides MailServiceIsSecure)
IsSigned Get whether or not the connection is signed (typically via SSL or TLS).
(Overrides MailServiceIsSigned)
LocalDomain Get or set the local domain.
LocalEndPoint Get or set the local IP end point to use when connecting to the remote host.
(Inherited from MailService)
MaxSize Get the maximum message size supported by the server.
PreferSendAsBinaryData Get whether or not the BDAT command is preferred over the DATA command.
Protocol Get the protocol supported by the message service.
(Overrides MailServiceProtocol)
ProtocolLogger Get the protocol logger.
(Inherited from MailService)
ProxyClient Get or set the proxy client to use when connecting to a remote host.
(Inherited from MailService)
RequireTLS Get or set whether the client should use the REQUIRETLS extension if it is available.
ServerCertificateValidationCallback Get or set a callback function to validate the server certificate.
(Inherited from MailService)
SslCipherSuite Get the negotiated SSL or TLS cipher suite.
(Overrides MailServiceSslCipherSuite)
SslCipherSuitesPolicy Get or set the cipher suites allowed to be used when negotiating an SSL or TLS connection.
(Inherited from MailService)
SslProtocol Get the negotiated SSL or TLS protocol version.
(Overrides MailServiceSslProtocol)
SslProtocols Get or set the set of enabled SSL and/or TLS protocol versions that the client is allowed to use.
(Inherited from MailService)
SyncRoot Gets an object that can be used to synchronize access to the SMTP server.
(Overrides MailServiceSyncRoot)
Timeout Get or set the timeout for network streaming operations, in milliseconds.
(Overrides MailServiceTimeout)

See Also