SmtpServerSslProtocol Property |
Gets or sets the security protocol to be used for performing TLS/SSL negotiation and data encryption.
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public SecurityProtocol SslProtocol { get; set; }
Public Property SslProtocol As SecurityProtocol
Get
Set
Property Value
Type:
SecurityProtocolOne of
SecurityProtocol values specifying the security protocol to be used for performing TLS/SSL negotiation and data encryption.
The default value is
Auto.
Remarks The default value allows MailBee to select the best (the mosy secure) protocol supported by
the mail server. However, if the mail server does not support automatic protocol negotiation,
it will likely close the connection (MailBeeSocketResetException will be thrown). In this case,
the application should set this property to non-Auto value (such as
Tls12).
Note |
---|
In case of UWP platform, MailBee always uses TlsAuto setting. |
See Also