MBOX-Line: From jkt at flaska.net  Wed Jul 30 09:40:05 2014
To: imap-protocol@u.washington.edu
From: =?iso-8859-1?Q?Jan_Kundr=E1t?= <jkt@flaska.net>
Date: Fri Jun  8 12:34:53 2018
Subject: [Imap-protocol] Gmail size fail
In-Reply-To: <CANVPb6ta9pVnE6g8f9CDTDDLV+56ByerB9d--+J5AObBRbOpUA@mail.gmail.com>
References: <CANVPb6vp-KDjeUQBkgz9d74p-2aEg3Pvam+vZqrx_o1HhS2dWw@mail.gmail.com>
	<CABa8R6uQw+NafV=KtZFW3X3g_cJfpPb0zNp2y4B4cAYZfXJXjQ@mail.gmail.com>
	<CANVPb6tjjRyxKK+7NDpFqeqSwN68OxLAie=WOPoFZyTs1WcEWQ@mail.gmail.com>
	<20140729163645.Horde.h5gjOOLwGbpVI_dHXPMKnQ6@bigworm.curecanti.org>
	<EBBF558390C949C08A544E0D7555F7B1@gmail.com>
	<CANVPb6vn6nL_4jmafo3OFjKY3ev+f1z3rB40RiHK_OXs7f2oiA@mail.gmail.com>
	<42e6254c-76ec-4d2e-8f95-5dc407db8eea@flaska.net>
	<CANVPb6ta9pVnE6g8f9CDTDDLV+56ByerB9d--+J5AObBRbOpUA@mail.gmail.com>
Message-ID: <e0e08cea-c8fa-4c6a-b6db-47a83bbe5821@flaska.net>

On Wednesday, 30 July 2014 18:33:42 CEST, Davide Gullo wrote:
> Ok Jan, I understand what you mean but the problem comes from the missed
> RFC822.
> The server does not send it, why?

What is a "missed RFC822"? Are you referring to RFC822.SIZE? I see it just 
fine in both untagged FETCH responses which the server sent you. Maybe 
you're confused by the fact that the literal syntax split the response into 
multiple "lines"? It's still a single response.

BTW, do you realize that it would be perfectly OK for the server to 
actually send many responses instead of a single one, like this:

* 1 FETCH (X-GM-MSGID 1345148067064026772 UID 7848)\r\n
* 1 FETCH (RFC822.SIZE 1372 BODY[HEADER.FIELDS (References)] 
{2}\r\n\r\n)\r\n
* 1 FETCH (FLAGS (\Seen) ENVELOPE (...))\r\n
* 1 FETCH (BODY[HEADER.FIELDS (References)] {2}\r\n\r\n)\r\n

I have no idea what else you're asking about, sorry.

Cheers,
Jan

-- 
Trojit?, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

