This commit is contained in:
Andris Reinman 2018-10-16 10:12:04 +03:00
parent 3f5f110904
commit 7d258e82f4

View file

@ -994,6 +994,7 @@ module.exports = (db, server, messageHandler) => {
* @apiSuccess {Object[]} envelope.rcpt Array of addresses from RCPT TO (should have just one normally) * @apiSuccess {Object[]} envelope.rcpt Array of addresses from RCPT TO (should have just one normally)
* @apiSuccess {String} envelope.rcpt.value RCPT TO address as provided by SMTP client * @apiSuccess {String} envelope.rcpt.value RCPT TO address as provided by SMTP client
* @apiSuccess {String} envelope.rcpt.formatted Normalized RCPT address * @apiSuccess {String} envelope.rcpt.formatted Normalized RCPT address
* @apiSuccess {String} thread ID of the Thread
* @apiSuccess {Object} from From: header info * @apiSuccess {Object} from From: header info
* @apiSuccess {String} from.name Name of the sender * @apiSuccess {String} from.name Name of the sender
* @apiSuccess {String} from.address Address of the sender * @apiSuccess {String} from.address Address of the sender
@ -1039,6 +1040,7 @@ module.exports = (db, server, messageHandler) => {
* "success": true, * "success": true,
* "id": 1, * "id": 1,
* "mailbox": "59fc66a03e54454869460e46", * "mailbox": "59fc66a03e54454869460e46",
* "thread": "59fc66a13e54454869460e50",
* "user": "59fc66a03e54454869460e45", * "user": "59fc66a03e54454869460e45",
* "from": { * "from": {
* "address": "rfinnie@domain.dom", * "address": "rfinnie@domain.dom",
@ -1306,6 +1308,7 @@ module.exports = (db, server, messageHandler) => {
success: true, success: true,
id: message, id: message,
mailbox, mailbox,
thread: messageData.thread,
user, user,
envelope, envelope,
from: from[0], from: from[0],