Interface: SmtpConfig
SMTP connection + credentials. All fields fall back to env when unset.
Properties
Section titled “Properties”
optionalhost?:string
SMTP server hostname (SMTP_HOST).
password?
Section titled “password?”
optionalpassword?:string
SMTP auth password / API key (SMTP_PASSWORD).
optionalport?:number
SMTP server port (SMTP_PORT). Defaults to DEFAULT_SMTP_PORT.
secure?
Section titled “secure?”
optionalsecure?:boolean
Use a TLS-on-connect socket (SMTP_SECURE). Defaults to
port === IMPLICIT_TLS_SMTP_PORT.
optionaluser?:string
SMTP auth username (SMTP_USER).