Send email from mailbox.
Send email from mailbox.
Path Parameters
- mailboxId string required
Possible values: Value must match regular expression
\d+
- application/json
Request Body
- to string[]
Possible values:
>= 1
- cc string[]
- bcc string[]
- subject Subject of the email. Can be empty but not null.
Possible values:
<= 65535 characters
- body Body of this email.
attachments object[]
uuid UUID of the uploaded file. requiredfilename Original name of the file. required- replyEmailId Id of the email to which this email is an answer. The original email will be marked as answered.
Responses
- 200
- 401
- 403
- 404
Success.
- application/json
- Schema
- Example (from schema)
Schema
- id Internal unique ID of this email. This is only used in the foodsharing mailbox system.
- mailboxId ID of the mailbox in which this email is.
- mailboxFolder Folder in the mailbox in which this email is, see {@link MailboxFolder}.
from object
oneOf- MOD1
mailbox stringhostname stringname stringaddress string- time date-time
- subject Subject of the email. Can be empty but not null.
- body Body of this email.
- bodyHtml Body of this email in which HTML tags have not been stripped.
- isRead Whether this email has been read.
- isAnswered Whether this email has been answered.
{
"id": 0,
"mailboxId": 0,
"mailboxFolder": 0,
"from": {
"mailbox": "string",
"hostname": "string",
"name": "string",
"address": "string"
},
"time": "2024-04-28",
"subject": "string",
"body": "string",
"bodyHtml": "string",
"isRead": true,
"isAnswered": true
}
Not logged in.
Insufficient permissions to read mail from mailbox
At least one of the attachments was not found
Loading...