SMTP Advanced icon

SMTP Advanced

Send emails via SMTP with advanced options

Send Template Email

AI-generated

Summary

Send a template-based email message via SMTP with configurable headers, attachments, and body options.

Inputs

  • fromEmail (required) — Email address of the sender.
  • fromName — Display name of the sender.
  • to (required) — Comma-separated list of primary recipient email addresses.
  • cc — Comma-separated list of CC recipient email addresses.
  • bcc — Comma-separated list of BCC recipient email addresses.
  • subject (required) — Subject line of the email.
  • bodyType — Type of body content to send ('text', 'html', or 'both').
  • bodyText — Plain text version of the email body.
  • bodyHtml — HTML version of the email body.
  • attachments — JSON array string containing file attachment objects with filename and base64 content.
  • replyTo — Reply-To email address.

Output shape

no body — empty array returned

Due to a missing branch in the node's execute implementation, selecting 'Send Template Email' verifies the SMTP connection but does not invoke sendMail or populate output item data.

Examples

Example 1: Configure parameters for sending an HTML template email

Set 'fromEmail' to 'noreply@example.com', 'to' to 'user@example.com', 'subject' to 'Welcome!', 'bodyType' to 'html', and supply the HTML template string in 'bodyHtml'.

Links

Discussion