I'm using JavaMail to fetch data of messages from an IMAP account. For example, I use the following command to retrieve the bodies of the messages with uid 1 to 4:
UID FETCH 1:4 BODY[]
Is there a way to fetch specific body parts for specific messages? For example, I would like to use something like:
UID FETCH (1 BODY[1.3]) (2 BODY[1.1]) (3 BODY[2.1]) (4 BODY[1.4])
PS: I know I could also send 4 distinct commands, but for performance reasons I can't afford to make a separate request for each message.