[Evolution] Re: [Evolution-hackers] Why are every messages marked read ?
- From: Jeffrey Stedfast <fejj helixcode com>
- To: evolution helixcode com, evolution-hackers helixcode com
- Subject: [Evolution] Re: [Evolution-hackers] Why are every messages marked read ?
- Date: Thu, 24 Aug 2000 00:23:02 -0400
Okay, let me explain how IMAP works.
EXAMINE is only for selecting folders read-only so that you can get a message count, etc - it has nothing to
do with downloading headers.
Now, on to more exciting news... FETCH with any parameters will automagically mark the message as 'read' on
the IMAP server, there's nothing Evolution can do about that.
What *might* be possible is to use ENVELOPE instead of FETCH, but I don't think ENVELOPE will give us all the
info we need. I'll have to check the RFCs when I get back to Boston :)
Another possibility is to pray that the IMAP server allows custom flags to be set, in which case we can have
our own read/unread" flag that we can set/unset as we wish. I think this'd be the best solution, but if I
recall correctly, this isn't supported on all IMAP server implementations.
I suppose one last option might be to keep a local cache? I dunno...
nah, that wouldn't work too well, that'd defeat the whole purpose of IMAP
okay, well I'm off - I will be happy to take suggestions (and/or patches)
Jeff
On Tue, Aug 22, 2000 at 05:29:51PM +0100, Tony Hoyle wrote:
Mário Filipe wrote:
On Tue, 22 Aug 2000 16:08:31 NotZed wrote:
The process of getting the headers, which evolution uses to display
the message list, the server marks the messages as read ...
*shrug*
So its imap.
No it's evolution.
Depending on which command you use to get the headers, imap will
automatically set
the message read. I don't have the docs handy at the moment but IIRC
it's 'READ' to
get the headers/body and set the 'read' flag, and 'EXAMINE' to get the
headers without
setting the 'read' flag.
(It's a month or so since I did any IMAP so I may be off base with the
command names).
Tony
_______________________________________________
evolution-hackers maillist - evolution-hackers helixcode com
http://lists.helixcode.com/mailman/listinfo/evolution-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]