1379c32c5a
The IMAP command is: C: A654 FETCH 2:4 (FLAGS BODY[HEADER.FIELDS (DATE FROM)]) not C: A654 FETCH '2:4' (FLAGS BODY[HEADER.FIELDS (DATE FROM)]) The single quotes must be removed.