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

Property Value

SslProtocols
The SSL and TLS protocol versions that are supported.
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 None which allows the operating system to choose the best protocol to use and to block protocols that are not secure.

Note  Note
This property should be set before calling any of the Connect or ConnectAsync methods.
See Also