Mail ServiceSsl Protocols Property
Get or set the set of enabled SSL and/or TLS protocol versions that the client is allowed to use.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The SSL and TLS protocol versions that are enabled.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public SslProtocols SslProtocols { get; set; }Property Value
SslProtocolsThe SSL and TLS protocol versions that are enabled.
Implements
IMailServiceSslProtocolsRemarks
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.