mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-13 16:45:27 +08:00
allow contentTransferEncoding
This commit is contained in:
parent
f438e68c42
commit
1ca26d464c
2 changed files with 2 additions and 0 deletions
|
@ -2213,6 +2213,7 @@ module.exports = (db, server, messageHandler, userHandler, storageHandler) => {
|
|||
filename: Joi.string().empty('').max(255),
|
||||
contentType: Joi.string().empty('').max(255),
|
||||
encoding: Joi.string().empty('').default('base64'),
|
||||
contentTransferEncoding: Joi.string().empty(''),
|
||||
content: Joi.string().required(),
|
||||
cid: Joi.string().empty('').max(255)
|
||||
})
|
||||
|
|
|
@ -823,6 +823,7 @@ module.exports = (db, server, messageHandler, userHandler) => {
|
|||
filename: Joi.string().empty('').max(255),
|
||||
contentType: Joi.string().empty('').max(255),
|
||||
encoding: Joi.string().empty('').default('base64'),
|
||||
contentTransferEncoding: Joi.string().empty(''),
|
||||
content: Joi.string().required(),
|
||||
cid: Joi.string().empty('').max(255)
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue