Synology MailPlus icon

Synology MailPlus

Synology MailPlus API operations (18 endpoints + legacy support)

Send Email

AI-generated

Summary

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.

Links

Discussion