mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-11-10 17:47:07 +08:00
better drafts handling
This commit is contained in:
parent
b4023c53ea
commit
4262c24bd7
1 changed files with 3 additions and 1 deletions
|
@ -935,7 +935,8 @@ module.exports = (db, server, messageHandler) => {
|
|||
html: true,
|
||||
text: true,
|
||||
textFooter: true,
|
||||
forwardTargets: true
|
||||
forwardTargets: true,
|
||||
meta: true
|
||||
}
|
||||
},
|
||||
(err, messageData) => {
|
||||
|
@ -1061,6 +1062,7 @@ module.exports = (db, server, messageHandler) => {
|
|||
text: messageData.text,
|
||||
forwardTargets: messageData.forwardTargets,
|
||||
attachments: messageData.attachments || [],
|
||||
meta: messageData.meta || {},
|
||||
references: (parsedHeader.references || '')
|
||||
.toString()
|
||||
.split(/\s+/)
|
||||
|
|
Loading…
Reference in a new issue