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): leaveuseTLS: false. snapr negotiates STARTTLS automatically when the server advertises it. - Implicit TLS (port
465): setuseTLS: true. snapr opens a TLS connection from the start. - Plaintext: leave
useTLS: falseand connect to a server that does not advertise STARTTLS. Not recommended.
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