Click or drag to resize

SmtpConfigurationSecureSocketOption Property

Represents the Secure Socket Options

Namespace:  SMTPRouter.Models
Assembly:  SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntax
public int SecureSocketOption { get; set; }

Property Value

Type: Int32
Remarks
Use the following values:
  • None = 0 (No SSL or TLS encryption should be used)
  • Auto = 1 (The system will decide whether to use SSL or TLS)
  • SslOnConnect = 2 (The connection should use SSL or TLS encryption immediately)
  • StartTls = 3 (Elevates the connection to use TLS encryption immediately after reading the greeting and server capabilities)
  • StartTlsWhenAvailable = 4 (Elevates the connection to use TLS encryption immediately after reading the greeting and server capabilities, but only if the server supports that)
See Also