On 28.9.2004, at 13:11, Andreas Aardal Hanssen wrote:
Cyrus IMAP says:
3 fetch 1 body[header.fields ("")] 3 BAD Invalid field-name in Fetch BODY[HEADER.FIELDS
I also did some testing. I hadn't noticed before that literals were allowed in headers list, that needed some changes to my parser.
Anyway, UW-IMAP does this:
x fetch 1 body.peek[header.fields ("from to")]
* 1 FETCH (BODY[HEADER.FIELDS (FROM TO)] {2})
PGP.sig
Description: This is a digitally signed message part
