SecureSocketOptions

Defines secure socket options for SMTP connections

SecureSocketOptions is an Enum used to set how a secure socket will work in Smtp Settings.

Name Value Description
None 0 No encryption
Auto 1 Automatically detect the best encryption method
SslOnConnect 2 Use SSL/TLS from the initial connection
StartTls 3 Use STARTTLS to upgrade to encrypted connection
StartTlsWhenAvailable 4 Use STARTTLS if available, otherwise connect without encryption