diff --git a/docs/apiv1/Message.md b/docs/apiv1/Message.md index ff0a74f..5cf47b5 100644 --- a/docs/apiv1/Message.md +++ b/docs/apiv1/Message.md @@ -26,8 +26,8 @@ Returns a JSON summary of the message and attachments. "Address": "jane@example.com" } ], - "Cc": null, - "Bcc": null, + "Cc": [], + "Bcc": [], "Subject": "Message subject", "Date": "2016-09-07T16:46:00+13:00", "Text": "Plain text MIME part of the email", @@ -57,7 +57,7 @@ Returns a JSON summary of the message and attachments. - `Read` - always true (message marked read on open) - `From` - Name & Address, or null -- `To`, `CC`, `BCC` - Array of Names & Address, or null +- `To`, `CC`, `BCC` - Array of Names & Address - `Date` - Parsed email local date & time from headers - `Size` - Total size of raw email - `Inline`, `Attachments` - Array of attachments and inline images. diff --git a/docs/apiv1/Messages.md b/docs/apiv1/Messages.md index a4d5aea..9d72129 100644 --- a/docs/apiv1/Messages.md +++ b/docs/apiv1/Messages.md @@ -51,7 +51,7 @@ List messages in the mailbox. Messages are returned in the order of latest recei "Address": "accounts@example.com" } ], - "Bcc": null, + "Bcc": [], "Subject": "Message subject", "Created": "2022-10-03T21:35:32.228605299+13:00", "Size": 6144, @@ -70,7 +70,7 @@ List messages in the mailbox. Messages are returned in the order of latest recei - `start` - The offset (default `0`) for pagination - `Read` - The read/unread status of the message - `From` - Name & Address, or null if none -- `To`, `CC`, `BCC` - Array of Names & Address, or null if none +- `To`, `CC`, `BCC` - Array of Names & Address - `Created` - Local date & time the message was received - `Size` - Total size of raw email in bytes diff --git a/docs/apiv1/Search.md b/docs/apiv1/Search.md index f2c7aa2..fdf6d02 100644 --- a/docs/apiv1/Search.md +++ b/docs/apiv1/Search.md @@ -47,7 +47,7 @@ Matching messages are returned in the order of latest received to oldest. "Address": "accounts@example.com" } ], - "Bcc": null, + "Bcc": [], "Subject": "Test email", "Created": "2022-10-03T21:35:32.228605299+13:00", "Size": 6144, @@ -65,5 +65,5 @@ Matching messages are returned in the order of latest received to oldest. - `count` - Number of messages returned in request - `start` - The offset (default `0`) for pagination - `From` - Singular Name & Address, or null if none -- `To`, `CC`, `BCC` - Array of Name & Address, or null if none +- `To`, `CC`, `BCC` - Array of Name & Address - `Size` - Total size of raw email in bytes diff --git a/server/ui-src/templates/Message.vue b/server/ui-src/templates/Message.vue index 403151a..c4a86e8 100644 --- a/server/ui-src/templates/Message.vue +++ b/server/ui-src/templates/Message.vue @@ -128,29 +128,27 @@ export default {