mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-01 13:13:53 +08:00
fixed bodystructure error
This commit is contained in:
parent
8c7e4a6e5b
commit
ae4845ce45
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ Wild Duck IMAP server supports the following IMAP standards:
|
|||
- **SPECIAL-USE**
|
||||
- **ID**
|
||||
- **AUTHENTICATE PLAIN** and **SASL-IR**
|
||||
- **UTF8=ACCEPT**
|
||||
- ~~**UTF8=ACCEPT**~~ (FIXME: had to revert this change as internally strings are handled as binary, not utf8 and thus mixed encodings were used if conversion was not properly handled)
|
||||
|
||||
## FAQ
|
||||
|
||||
|
|
|
@ -498,8 +498,8 @@ module.exports.getQueryResponse = function (query, message, options) {
|
|||
break;
|
||||
|
||||
case 'bodystructure':
|
||||
if (message.envelope) {
|
||||
value = message.envelope;
|
||||
if (message.bodystructure) {
|
||||
value = message.bodystructure;
|
||||
} else {
|
||||
if (!mimeTree) {
|
||||
mimeTree = indexer.parseMimeTree(message.raw);
|
||||
|
|
Loading…
Reference in a new issue