SmtpSecurity

How the connection to the SMTP server is secured.

Entries

Link copied to clipboard

Implicit TLS from the first byte (SMTPS, RFC 8314), usually port 465.

Link copied to clipboard

Upgrade via STARTTLS (RFC 3207); fails if the server doesn't support it. Usually port 587.

Link copied to clipboard

Use STARTTLS if the server offers it, otherwise stay unencrypted. Only for trusted networks.

Link copied to clipboard

No encryption. Only for trusted networks, e.g. a local relay.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.