|
|
@ -20,6 +20,7 @@ var MAX_INT = 9007199254740992,
|
|
|
|
'RFC822.SIZE': 'size',
|
|
|
|
'RFC822.SIZE': 'size',
|
|
|
|
'BODY': 'struct',
|
|
|
|
'BODY': 'struct',
|
|
|
|
'BODYSTRUCTURE': 'struct',
|
|
|
|
'BODYSTRUCTURE': 'struct',
|
|
|
|
|
|
|
|
'ENVELOPE': 'envelope',
|
|
|
|
'INTERNALDATE': 'date'
|
|
|
|
'INTERNALDATE': 'date'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
CRLF = '\r\n',
|
|
|
|
CRLF = '\r\n',
|
|
|
@ -714,6 +715,8 @@ Connection.prototype._fetch = function(which, uids, options) {
|
|
|
|
|
|
|
|
|
|
|
|
if (options) {
|
|
|
|
if (options) {
|
|
|
|
modifiers = options.modifiers;
|
|
|
|
modifiers = options.modifiers;
|
|
|
|
|
|
|
|
if (options.envelope)
|
|
|
|
|
|
|
|
fetching.push('ENVELOPE');
|
|
|
|
if (options.struct)
|
|
|
|
if (options.struct)
|
|
|
|
fetching.push('BODYSTRUCTURE');
|
|
|
|
fetching.push('BODYSTRUCTURE');
|
|
|
|
if (options.size)
|
|
|
|
if (options.size)
|
|
|
|