Re: [Imap-protocol] Re: partial fetch of BODY data

Philip Guenther <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On Sat, 12 May 2012, Bill Shannon wrote:
> And just to confirm, a server should never return "NIL" for a BODY
> content, even if I attempt to read way past the end of the content,
> correct?  At least, as long as the message exists.  It might return
> NIL if the message has been expunged, right?

If the part specifier is invalid for the message, then the server may 
return NIL.

So, for example, given a message whose MIME structure is

  multipart/alternative
    text/plain
    text/html

then a request for BODY[1.TEXT] or BODY[1.HEADER] can get you a NIL.


Philip Guenther
_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.