On Thu, 15 Jan 2004, Paul Jarc wrote:
> Now, IIUC, if the top-level message is message/rfc822, then [TEXT] is
> (the header and body of) the encapsulated message, [1] is the same,
> and [1.HEADER] and [1.TEXT] are the encapsulated header and body
> individually.

Yes.

> If the encapsulated message itself is also
> message/rfc822, then [1.TEXT] is the header and body of the
> doubly-encapsulated message, and there is no way to refer to the
> header and body individually.

Wrong.

The header of the doubly-encapsulated message is [1.1.HEADER] and the body
of the doubly-encapsulated message is [1.1.TEXT].

> Somewhat related: is a client allowed to request multiple BODY[...]
> parts in a single FETCH command?  Does it come up in practice?  E.g.:
> tag FETCH 1 (BODY[1.TEXT]<17.42> BODY[2.HEADER]<42.101> BODY[3.2.1])

Yes and yes.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to