Sends a message quickly specifying the sender, recipients, message subject, and message body.
Name | Description | Type | Example |
from
sent in body
|
Mail address from which a letter will be sent. Format: Name <name@domain> | string | some text |
to
sent in body
|
List of mail addresses to which a letter will be sent. Format: Name <name@domain> | Collection of strings | some text |
subject
sent in body
|
Message subject | string | some text |
body
sent in body
|
Message body as the HTML string | string | some text |
isReceipt
sent in body
|
Specifies if the receipt is returned to the sender or not | Bool value | true |
PUT api/2.0/mail/messages/simplesend Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "from": "some text", "to": [ "some text" ], "subject": "some text", "body": "some text", "isReceipt": true }
Boolean value: true if a message was sent successfully