mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-13 00:24:49 +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**
|
- **SPECIAL-USE**
|
||||||
- **ID**
|
- **ID**
|
||||||
- **AUTHENTICATE PLAIN** and **SASL-IR**
|
- **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
|
## FAQ
|
||||||
|
|
||||||
|
|
|
@ -498,8 +498,8 @@ module.exports.getQueryResponse = function (query, message, options) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'bodystructure':
|
case 'bodystructure':
|
||||||
if (message.envelope) {
|
if (message.bodystructure) {
|
||||||
value = message.envelope;
|
value = message.bodystructure;
|
||||||
} else {
|
} else {
|
||||||
if (!mimeTree) {
|
if (!mimeTree) {
|
||||||
mimeTree = indexer.parseMimeTree(message.raw);
|
mimeTree = indexer.parseMimeTree(message.raw);
|
||||||
|
|
Loading…
Add table
Reference in a new issue