[Imap-protocol] [noob] fetch command with repeating attributes?
petite_abeille at mac.com
Sun Nov 27 06:36:39 PST 2011
Can the fetch command contain the same attribute multiple times?
For example, the following request , curtesy of dbmail test suite , sports the BODY.PEEK attribute twice, for two different header fields:
C0000A UID FETCH 1:* (BODY.PEEK[HEADER.FIELDS (Subject)] BODY.PEEK[HEADER.FIELDS (Message-Id)] ENVELOPE RFC822.SIZE UID FLAGS INTERNALDATE)
Is such fetch request compliant? Can the fetch attributes be repeated multiple times?
If yes, what's the expected response? Two BODYs, one for each header? One BODY with the two requested fields? Either?
Thanks in advance.
More information about the Imap-protocol