HelperStable

Send email

Sends a transactional email through a configuration compatible with the standard mail capability.

Recipient + content
Send email
send_email
Communication result

Overview

Sends a transactional email through a configuration compatible with the standard mail capability.

Example

Send a generated document to the accounting contact after an invoice is finalized.

Parameters 8

mailerRequiredref(extension_config)
Email configuration used for this communication operation.
toRequiredemail
Message recipient(s): address, number, or contact(s) depending on the node.
ccOptionalemail
CC recipients of the email message.
bccOptionalemail
BCC recipients of the email message.
reply_toOptionalemail
Reply-To used for this communication operation.
subjectRequiredstring
Subject of the sent message.
bodyRequiredstring
Message body; Ormuz Markdown may be rendered before sending depending on the node.
attachmentsOptionalFile
Optional Ormuz files attached to the email.

Outputs 4

statusenum
Current normalized state of the mailing, approval, or verification.
acceptedemail[]
Whether the provider accepted the sending request; this is not proof of delivery.
rejectedemail[]
Result rejected of the communication operation.
provider_message_idsOptionalstring[]
Result provider_message_ids of the communication operation.

Behavior

Ormuz renders Markdown with merchant branding, prepares text and HTML, loads attachments, then invokes ormuz.mail.send:v1 on the selected provider.

Limits and responsibilities

  • status=accepted means the provider accepted submission; it proves neither mailbox delivery nor that the message was read.
  • Rejected addresses must be handled from the rejected output.
  • Attachment size limits depend on the selected provider.