type: email — sends an SMTP message to one or more recipients.
Fields
Plus the common fields.
Example
TLS modes
- Plain → 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.
The recipient's From: header is taken verbatim from from. smtpUser defaults to no auth — provide both smtpUser and smtpPass only when the server requires LOGIN/PLAIN auth.