MailBee.NET Objects 6.0

SecurityProtocol Enumeration

Specifies the protocol to be used for performing TLS/SSL negotiation and data encryption.

public enum SecurityProtocol

Remarks

The security protocol can be set via SslProtocol property of SmtpServer, Pop3, or Imap classes.

Most applications use Auto option, which allows MailBee.NET to communicate with the server using the most secure of the available methods.

Note   If the mail server does not support automatic protocol negotiation (this usually results in getting MailBeeSocketResetException thrown during TLS/SSL negotiation), the developer should mannually specify the protocol to be used (for example Tls1).

Members

Member NameDescription
AutoThe most secure protocol supported by the server will be used to authenticate the client and encrypt the data. If the server supports TLS, this protocol will be used; otherwise, less secure protocols such as SSL2 or SSL3 will be tried. However, some servers require the client to specify the protocol and do not support automatic protocol negotiation.
Ssl2SSLv2 will be used to authenticate the client and encrypt the data.
Ssl3SSLv3 will be used to authenticate the client and encrypt the data.
Tls1TLS will be used to authenticate the client and encrypt the data.

Requirements

Namespace: MailBee.Security

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Security Namespace