[Imap-protocol] FETCH (rfc822) response

Rick Sanders rfs9999 at earthlink.net
Fri Oct 7 07:30:57 PDT 2011


I'm working with a server whose response to a FETCH (rfc822) is
different than I have seen before.

>> 1 FETCH 1 (rfc822)
<< * 1 EXISTS
<< * 1 FETCH (RFC822[] {0}

I'm used to seeing something like * 1 FETCH (RFC822 {1522}. In this
case I have to send a separate 1 FETCH 1 (rfc822.size) command to get
the message size: << 1 FETCH (rfc822.size 5149).

Just curious, is this compliant?

-Rick


More information about the Imap-protocol mailing list