![]() | Mail |
public SslProtocols SslProtocols { get; set; }
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.
![]() |
---|
This property should be set before calling any of the Connect or ConnectAsync methods. |