SMTP (BoltX)
AI-generatedSummary
Send emails via SMTP with per-item configurable host, port, authentication, and message details, optionally using fixed credentials.
Inputs
- useCredentials — Use fixed SMTP credentials configured via node credentials instead of per-item parameters.
- host — SMTP server host; leave empty if using credentials.
- port — SMTP server port, typically 465 for implicit TLS or 587 for STARTTLS.
- secure — Use implicit TLS (true for port 465) or STARTTLS (false for port 587).
- username — SMTP authentication username; empty means no auth.
- password — SMTP password for authentication.
- fromEmail (required) — Email address of the sender.
- toEmail — Recipient email address(es), accepts CSV string or array.
- ccEmail — CC recipient email address(es), accepts CSV string or array.
- bccEmail — BCC recipient email address(es), included in envelope only.
- subject — Email subject line.
- html — HTML content of the email body; if set, email is sent as HTML.
- text — Plaintext email body, used if HTML is empty.
- options.allowUnauthorizedCerts — Allow connecting with unauthorized TLS certificates by disabling certificate verification.
- options.requireTLS — Require STARTTLS when not using implicit TLS; throw error if server doesn't support it.
Output shape
a list with one item per input item, each containing a JSON object with success status, messageId for sent emails, accepted recipient addresses, and mode ('html' or 'text').
If sending fails and 'Continue On Fail' is enabled, output item indicates success:false with error message. Throws on errors otherwise.