wasm-demo/demo/ermis-f/imap-protocol/cur/1600095098.22877.mbox:2,S

28 lines
1.1 KiB
Plaintext

MBOX-Line: From MRC at Washington.EDU Fri Mar 28 09:59:54 2008
To: imap-protocol@u.washington.edu
From: Mark Crispin <MRC@Washington.EDU>
Date: Fri Jun 8 12:34:41 2018
Subject: [Imap-protocol] FETCH BODY[n.HEADER] on non-message parts
In-Reply-To: <348317927.557021206721114013.JavaMail.root@dogfood.zimbra.com>
References: <348317927.557021206721114013.JavaMail.root@dogfood.zimbra.com>
Message-ID: <alpine.WNT.1.10.0803280956540.764@Shimo-Tomobiki.Panda.COM>
On Fri, 28 Mar 2008, Dan Karp wrote:
> Is there a generally-accepted server response when a client requests FETCH
> BODY[n.HEADER] on a non-message subpart?
Yes.
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.
-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.