On Tue, 2003-03-04 at 22:02, Andreas Aardal Hanssen wrote:
> Evolution 1.2.2 fetches this:
> 
> <tag> UID FETCH <n> (FLAGS RFC822.SIZE INTERNALDATE 
> BODY.PEEK[HEADER.FIELDS.NOT (RECEIVED)])
> 
> That is - it fetches the whole header and not the BODYSTRUCTURE. It still
> shows the paperclip.

Looks like it currently figures it out just from Content-Type.

>  When I click on a message, it still doesn't use
> BODYSTRUCTURE. It just fetches the whole message with BODY[].
> 
> Now that's one Fine(tm) IMAP client.

I'm not really sure what the current logic for it is. Maybe if the
message is larger than some size it uses BODY with body part fetches. I
just tried with two multipart messages, one (4kB) it fetched with
BODY[], another (50kB) it fetched with:

A49828 UID FETCH 2258 BODY
A49829 UID FETCH 2258 BODY.PEEK[HEADER]
A49830 UID FETCH 2258 BODY.PEEK[1.MIME]
A49831 UID FETCH 2258 BODY.PEEK[2.MIME]
A49832 UID FETCH 2258 BODY.PEEK[1]
A49833 UID FETCH 2258 BODY.PEEK[2]

Anyway, the current IMAP code is pretty bad and needs a rewrite.

Reply via email to