Sends an email from a mailbox.
POST
/api/mailboxes/{mailboxId}/mails
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
Type
API Key (header: X-CSRF-Token)
Parameters
Path Parameters
mailboxId*
Type
Requiredinteger
Minimum
1Request Body
application/json
JSON "subject": "Testbetreff", "body": "Inhalt der Email", "attachments": [ ], "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
{
}