Skip to content

Send email from mailbox.

POST
/api/mailbox/{mailboxId}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

mailboxId*
Typestring
Required
Pattern"\\d+"

Request Body

application/json
JSON
{
"to": [
[
]
],
"cc": [
"string"
],
"bcc": [
"string"
],
"subject": "Testbetreff",
"body": "Inhalt der Email",
"attachments": [
{
"uuid": "uuid",
"filename": "Testdatei.jpg"
}
],
"replyEmailId": 0
}

Responses

Success.

application/json
JSON
{
"id": -1,
"mailboxId": -1,
"mailboxFolder": -1,
"from": {
"mailbox": "string",
"hostname": null,
"name": null,
"address": "string"
},
"time": "string",
"subject": "",
"body": "string",
"bodyHtml": "string",
"isRead": false,
"isAnswered": false
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python