MBOX-Line: From petite_abeille at mac.com  Wed Dec 21 04:05:23 2011
To: imap-protocol@u.washington.edu
From: Petite Abeille <petite_abeille@mac.com>
Date: Fri Jun  8 12:34:47 2018
Subject: [Imap-protocol] [noob] body[n.header] vs. body[n.mime]?
Message-ID: <7A5C9702-B74C-4AA7-9075-449D07B0435B@mac.com>

Hello,

What's body[n.mime] suppose to return, and when? 

Given the following message:

http://pastebin.com/raw.php?i=M2tTnLEm

With the following parts (as reported by reformime [1]):

1 multipart/mixed
1.1 text/plain
1.2 message/rfc822
1.2.1 multipart/report
1.2.1.1 text/plain
1.2.1.2 message/delivery-status
1.2.1.3 message/rfc822
1.2.1.3.1 text/plain

When does body[n.mime] apply, and what is it suppose to return?

For example, what should one return when asked for body[1.2.mime] vs. body[1.2.header]?

Also, is the part numbering as performed by reformime in line with what IMAP part specifiers expects?

Thanks in advance.


[1] http://www.courier-mta.org/reformime.html

