BCP Mail icon

BCP Mail

Interact with BCP Mail API

Actions4

Send Mail → Send Mail

AI-generated

Overview

This node integrates with the BCP Mail API to send emails. Specifically, the "Send Mail" resource with the "Send Mail" operation allows users to compose and send an email message programmatically. It supports specifying sender details, recipients (including CC and BCC), subject, HTML content, and attachments via links.

Common scenarios where this node is beneficial include:

  • Automating email notifications or alerts from workflows.
  • Sending marketing or transactional emails triggered by events.
  • Integrating email sending capabilities into larger automation pipelines without manual intervention.

For example, a user can configure this node to send a welcome email to new subscribers automatically, including personalized content and attachments hosted online.

Properties

Name Meaning
From Email Name or ID Select the sender's email address or name from a list of verified senders.
To Email The recipient's email address. Multiple addresses are not explicitly supported here.
Bcc Email Blind carbon copy recipients; multiple addresses can be comma-separated.
Cc Email Carbon copy recipients; multiple addresses can be comma-separated.
Subject The subject line of the email.
HTML Content The body of the email in HTML format.
Attachments Link URLs to attachments to include in the email; multiple links can be comma-separated.

Output

The node outputs JSON data representing the response from the BCP Mail API after attempting to send the email. This typically includes success status and any relevant metadata returned by the API.

If the email sending fails, the output may contain an error message describing the failure.

The node does not output binary data.

Dependencies

  • Requires an API key credential for the BCP Mail API.
  • Needs network access to the BCP Mail API endpoints.
  • The node uses HTTP requests to communicate with the API, so proper configuration of credentials and endpoint URLs is necessary.

Troubleshooting

  • Missing or invalid API key: The node requires a valid API key credential. Ensure the API key is correctly configured and has permissions to send mail.
  • Invalid email addresses: The "To", "Cc", and "Bcc" fields must contain valid email addresses. Comma-separate multiple addresses in "Cc" and "Bcc".
  • Empty required fields: The "From Email Name or ID" and "To Email" fields must not be empty.
  • Attachment link issues: If attachment URLs are incorrect or inaccessible, the email might fail to send or attachments won't appear.
  • API errors: Any error messages returned by the BCP Mail API will be included in the node output. Review these messages for specific causes.

To resolve errors:

  • Verify all input fields are correctly filled.
  • Check API key validity and permissions.
  • Confirm that attachment links are accessible.
  • Enable "Continue On Fail" in the node settings to handle errors gracefully within workflows.

Links and References

Discussion