there definately is a bug in gmail's imap

3 uid fetch 29 (rfc822.size)<cr>
* 29 FETCH (UID 29 RFC822.SIZE 1234)<cr>
3 OK Success<cr>
3 uid fetch 29 (body[])<cr>
* 29 FETCH (UID 29 BODY[] {1246}<cr>
[...]

oops.  the obvious bug, that the body of the email
is 1246 - 1234 lines long and they forgot to count
the <cr>s added by the protocol doesn't check
because the body is 7 lines long.  neither is the
header 12 lines long.

- erik


Reply via email to