Re: Fetching short text snippet for mails
Alexey Melnikov <[email protected]>
| Newsgroups | gmane.ietf.imapext |
|---|---|
| Message-ID | <[email protected]> |
Hi Cyrus, On 02/12/2014 16:37, Cyrus Daboo wrote: > Hi Timo, > > --On December 1, 2014 at 10:39:13 PM -0800 Timo Sirainen <[email protected]> > wrote: >> Nowadays many mail clients want to show about 100 chars of the beginning >> of mail, so there should be a nice and efficient way for clients to >> request this. I'm now wondering what would be a nice IMAP way of >> implementing this. Does anyone have some suggestions? There's what I've >> come up with so far: > > Efficient as in eliminating the current extra round trip of doing a > FETCH BODY.PEEK[<section>]<<partial>>? If so, then I think "SNIPPET" > should be an alias for BODY.PEEK[the first significant text > section]<<partial>>. i.e., the server does not do anything more than > determine the "the first significant text section". The client still > gets to use <<partial>> as it could today. I thought so too. That is why I've asked the question what exactly is "snippet". Unless "snippet" needs to convert from text/html to text/plain (or vice versa), etc. _______________________________________________ imapext mailing list [email protected] https://www.ietf.org/mailman/listinfo/imapext