 | SmtpConfigurationSecureSocketOption Property |
Represents the Secure Socket Options
Namespace:
SMTPRouter.Models
Assembly:
SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntaxpublic int SecureSocketOption { get; set; }Public Property SecureSocketOption As Integer
Get
Set
Dim instance As SmtpConfiguration
Dim value As Integer
value = instance.SecureSocketOption
instance.SecureSocketOption = value
public:
property int SecureSocketOption {
int get ();
void set (int value);
}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