mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-16 18:14:32 +08:00
update log api
This commit is contained in:
parent
60daa09f67
commit
50ed3fa4d7
1 changed files with 2 additions and 4 deletions
|
@ -848,15 +848,13 @@ module.exports = (db, server, messageHandler) => {
|
|||
src: entry.ip,
|
||||
dst: entry.host,
|
||||
mx: entry.mx,
|
||||
targets: entry.targets,
|
||||
reason: entry.reason,
|
||||
error: entry.error,
|
||||
response: entry.response,
|
||||
messageId: entry['message-id'],
|
||||
from: entry.from,
|
||||
to:
|
||||
(entry.forward &&
|
||||
[].concat(typeof entry.forward === 'string' ? entry.forward.trim().split(/\s*,\s*/) : entry.forward || [])) ||
|
||||
(entry.to && [].concat(typeof entry.to === 'string' ? entry.to.trim().split(/\s*,\s*/) : entry.to || [])),
|
||||
to: entry.to && [].concat(typeof entry.to === 'string' ? entry.to.trim().split(/\s*,\s*/) : entry.to || []),
|
||||
transtype: entry.transtype,
|
||||
time: entry.created
|
||||
}))
|
||||
|
|
Loading…
Add table
Reference in a new issue