Hierarchy

  • SMTPConfig

Methods

  • Validate makes SMTPConfig validatable by implementing [validation.Validatable] interface.

    Returns void

Properties

authMethod: string

SMTP AUTH - PLAIN (default) or LOGIN

enabled: boolean
host: string
localName: string

LocalName is optional domain name or IP address used for the EHLO/HELO exchange (if not explicitly set, defaults to "localhost").

This is required only by some SMTP servers, such as Gmail SMTP-relay.

password: string
port: number
tls: boolean

Whether to enforce TLS encryption for the mail server connection.

When set to false StartTLS command is send, leaving the server to decide whether to upgrade the connection or not.

username: string

Generated using TypeDoc