Click or drag to resize

IMailServiceSslProtocols Property

Get or set the set of enabled SSL and/or TLS protocol versions that the client is allowed to use.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
SslProtocols SslProtocols { get; set; }

Property Value

The SSL and TLS protocol versions that are supported.

By default, MailKit initializes this value to enable only TLS v1.2 and greater. TLS v1.1, TLS v1.0 and all versions of SSL are not enabled by default due to them all being susceptible to security vulnerabilities such as POODLE.

This property should be set before calling any of the Connect methods.

See Also