Returns all mails from mailbox.
Returns all mails from mailbox.
Path Parameters
- mailboxId string required
Possible values: Value must match regular expression
\d+
- folderId string required
Query Parameters
- page string
- pageSize string
Default value:
50
Responses
- 200
- 401
- 403
Success
- application/json
- Schema
- Example (from schema)
Schema array
- 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 mails from mailbox
Loading...