Click or drag to resize
MimeKit

MailServiceSslProtocols Property

Gets or sets 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: 2.14.0
Syntax
C#
public SslProtocols SslProtocols { get; set; }

Property Value

Type: SslProtocols
The SSL and TLS protocol versions that are enabled.

Implements

IMailServiceSslProtocols
Remarks

Gets or sets the enabled SSL and/or TLS protocol versions that the client is allowed to use.

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