MBOX-Line: From dkarp at zimbra.com  Fri Mar 28 10:13:00 2008
To: imap-protocol@u.washington.edu
From: Dan Karp <dkarp@zimbra.com>
Date: Fri Jun  8 12:34:41 2018
Subject: [Imap-protocol] FETCH BODY[n.HEADER] on non-message parts
In-Reply-To: <alpine.WNT.1.10.0803280956540.764@Shimo-Tomobiki.Panda.COM>
Message-ID: <2121388044.564471206724380652.JavaMail.root@dogfood.zimbra.com>

> The result for any BODY[...] that does not actually exist is a
> zero-length string.  Normally, this is a client error (since the
> client can determine what parts exist from BODYSTRUCTURE).
> However, at times it is convenient for the client to do a mindless
> access, typically for BODY[1], so the result is a zero-length string
> rather than a BAD.

A zero-length string rather than a NIL?  If so, under what conditions
will FETCH BODY[...] ever return NIL?

  msg-att-static  = ... / "BODY" section ["<" number ">"] SP nstring / ...

