Click or drag to resize
MimeKit

MailServiceSslProtocols Property

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

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 2.3.0
Syntax
C#
public SslProtocols SslProtocols { get; set; }

Property Value

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

Implements

IMailServiceSslProtocols
Remarks

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

By default, MailKit initializes this value to support only TLS v1.0 and greater and does not support any version of SSL due to those protocols no longer being considered secure.

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

See Also