Skip to main content
type: email sends an SMTP message to one or more recipients.

Options

Plus the common fields (name, onSuccess, onFailure).

TLS modes

  • STARTTLS upgrade (port 587): leave useTLS: false. snapr negotiates STARTTLS automatically when the server advertises it.
  • Implicit TLS (port 465): set useTLS: true. snapr opens a TLS connection from the start.
  • Plaintext: leave useTLS: false and connect to a server that does not advertise STARTTLS. Not recommended.
The From: header is taken verbatim from from. Authentication is skipped by default — provide both smtpUser and smtpPass only when the server requires LOGIN/PLAIN auth.

Example

snapr.yaml