Click or drag to resize
MimeKit

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.7.1
Syntax
C#
SslProtocols SslProtocols { get; set; }

Property Value

SslProtocols
The SSL and TLS protocol versions that are supported.
Remarks

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