Actions27
- Get Mailboxes
- List Mailboxes
- Create Mailbox
- Update Mailbox
- Delete Mailbox
- Get Labels
- List Labels
- Create Label
- Update Label
- Delete Label
- Get Filters
- List Filters
- Create Filter
- Update Filter
- Delete Filter
- Send Email
- Advanced: Login (debug)
- Advanced: Logout (debug)
- Legacy: List Mail APIs
- Legacy: Get Mail Server Version
- Legacy: List Messages
- Legacy: Get Message Detail
- Legacy: Move Message
- Legacy: Mark Read / Unread
- Legacy: Add / Remove Label
- Legacy: Get Account Info
- Legacy: Custom Mail Call
Send Email
AI-generatedSummary
Send an email through the Synology MailPlus service by specifying the sender, recipients, subject, and message content.
Inputs
- From (required) — The email address of the sender.
- To (JSON Array) (required) — A JSON array of recipient email addresses.
- CC (JSON Array) — A JSON array of CC recipient email addresses.
- BCC (JSON Array) — A JSON array of BCC recipient email addresses.
- Subject (required) — The subject line of the email.
- Body (required) — The content body of the email, supports HTML format if 'Is Plain Text' is false.
- Is Plain Text — Boolean flag indicating if the email body should be sent as plain text (true) or HTML (false, default).
Output shape
a JSON object representing the API response indicating success or failure of the email send operation.
The output contains response data from Synology MailPlus API's 'send' method under 'SYNO.MailClient.Mail' with details about the sent email or error information if sending failed.
Examples
Example 1: Sending a simple HTML email to multiple recipients
Set 'From' with sender email, 'To' with JSON array of recipient emails, 'Subject' with message subject, 'Body' with HTML content, and leave 'Is Plain Text' unchecked.
