Send transactional email
enginemailer_send_transactional_emailWRITE, SENDS ONE EMAIL NOW and cannot be undone: submits a transactional email to one recipient (plus optional CC/BCC). Needs a sender address on a verified domain; give either subject + content_html, or a template_id from the Enginemailer portal (the template supplies subject and sender name). Total message incl. attachments max 5 MB. Confirm the recipient and text with the user first; set confirm to true only then. POST /RESTAPI/V2/Submission/SendEmail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| bcc | No | ||
| confirm | Yes | Must be true: the user has approved sending this email now. | |
| subject | No | ||
| to_email | Yes | An email address (max 128 characters). | |
| sender_name | No | ||
| template_id | No | Stored template id from the Enginemailer portal. | |
| content_html | No | Email body (HTML). Not needed with template_id. | |
| sender_email | Yes | Sender address on a verified domain (must match the template's sender when template_id is used). | |
| campaign_name | No | Label for reports. | |
| substitution_tags | No | Merge tags. Values must not contain { } [ ]. |