Send Email Enhanced icon

Send Email Enhanced

Sends an email using SMTP protocol with List-Unsubscribe headers

Actions2

Overview

This node sends an email using the SMTP protocol with enhanced features including support for List-Unsubscribe headers. It is useful for automating email sending tasks where you want to send emails with options like CC, BCC, attachments, custom headers, and unsubscribe links. A practical example is sending newsletters or transactional emails that comply with unsubscribe standards.

Use Case Examples

  1. Sending a marketing newsletter with HTML content and unsubscribe links.
  2. Sending a transactional email with attachments and custom headers.

Properties

Name Meaning
From Email Email address of the sender, can include a name.
To Email Email address of the recipient, can include a name.
Subject Subject line of the email.
Email Format Format of the email content: plain text, HTML, or both.
Email (HTML) HTML version of the email content, shown if format is HTML or both.
Email (Text) Plain text version of the email content, shown if format is text or both.
Options Additional email options including CC, BCC, attachments, custom headers, reply-to address, and unsubscribe information.

Output

JSON

  • success - Indicates if the email was sent successfully (true/false).
  • messageId - The message ID of the sent email or 'sent' if not available.
  • headers - Custom headers included in the email, such as List-Unsubscribe headers.
  • to - Recipient email address.
  • subject - Subject line of the sent email.
  • error - Error message if sending failed.

Dependencies

  • SMTP credentials for authentication and connection to the SMTP server.

Troubleshooting

  • If the node throws an error about 'Send and Wait operation is not yet implemented', it means this operation is not supported in the current version.
  • Errors related to SMTP connection usually indicate incorrect SMTP credentials or server settings.
  • Attachment errors may occur if the specified binary property does not exist or is invalid.

Links

Discussion