[Imap-protocol] [noob] multiple fetch responses for the same message?

Petite Abeille petite_abeille at mac.com
Sun Nov 13 12:37:48 PST 2011





>> Would it be compliant to return instead two responses, one for each attribute?

>>

>> * 1 FETCH (FLAGS (\Seen))

>> * 1 FETCH (RFC822.SIZE 44827)

>


On Nov 13, 2011, at 9:14 PM, Bron Gondwana wrote:


> Compliant or not, I can bet you it will break a lot of clients.


On Nov 13, 2011, at 9:17 PM, Timo Sirainen wrote:


> Possibly would be compliant, but you'd most likely also break tons of clients by doing that, so it's a rather pointless thing to do.


Ok, fair enough.

But, on the other hand, doesn't it happen already? For example when a BODY fetch triggers a FLAGS fetch?

ABC 1 FETCH (BODY[HEADER] )
* 1 FETCH (BODY[HEADER] {342}
...
* 1 FETCH (FLAGS (\Seen))
ABC OK FETCH completed





More information about the Imap-protocol mailing list