MailBee.NET Objects 3.1

Imap.SslProtocol Property

Gets or sets the security protocol to be used for performing TLS/SSL negotiation and data encryption.

public MailBee.Security.SecurityProtocol SslProtocol {get; set;}

Property Value

One 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 most 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 Tls1).

See Also

Imap Class | MailBee.ImapMail Namespace