# Enums

## CanonicalizationAlgorithm

Canonicalization Algorithm for DKIM.

Name | Description
`SIMPLE` | -
`RELAXED` | -

## DKIMSignAlgorithm

Signing Algorithm specified by DKIM spec.

Name | Description
`RSA_SHA1` | -
`RSA_SHA256` | -

## LoginOption

possible options for a login into a SMTP server
either DISABLED, OPTIONAL, REQUIRED or XOAUTH2

DISABLED means no login will be attempted

NONE means a login will be attempted if the server supports in and login credentials are set

REQUIRED means that a login will be attempted if the server supports it and the send operation will fail otherwise

XOAUTH2 means that a login will be attempted using Google Gmail Oauth2 tokens

Name | Description
`DISABLED` | -
`NONE` | -
`REQUIRED` | -
`XOAUTH2` | -

## StartTLSOptions

possible options for a secure connection using TLS
either DISABLED, OPTIONAL or REQUIRED

DISABLED means STARTTLS will not be used in any case

OPTIONS means STARTTLS will be used if the server supports it and a plain connection will be used otherwise please note that this option is not a secure as it seems since a MITM attacker can remove the STARTTLS line from the capabilities reply.

REQUIRED means that STARTTLS will be used if the server supports it and the send operation will fail otherwise

Name | Description
`DISABLED` | -
`OPTIONAL` | -
`REQUIRED` | -