From 6b6bfb6bc1bee201c7197f09b52bd52cf8dfc4e0 Mon Sep 17 00:00:00 2001 From: mscdex Date: Thu, 27 Dec 2012 20:41:26 -0500 Subject: [PATCH] Fix 'struct' default for fetch() --- lib/imap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imap.js b/lib/imap.js index f97ab21..9e60dea 100644 --- a/lib/imap.js +++ b/lib/imap.js @@ -898,7 +898,7 @@ ImapConnection.prototype._fetch = function(which, uids, options, what, cb) { var toFetch = '', prefix, extensions, self = this, parse = true, headers, key, stream, - opts = { markSeen: false, size: false }, + opts = { markSeen: false, struct: true, size: false }, fetchers = {}, part; if (typeof what === 'function') {