On Mon, 23 Jun 2003, Timo Sirainen wrote:
> If you also send notifications for "some client selected mailbox xyz",
> that could be used to reset the "contains new mail" flag. I think that
> would make it pretty much usable.

You already have that ability: that's what \Marked and \Unmarked do!

\Marked gets set when new mail happens, and \Unmarked gets set when some
client selects the mailbox.

The complaint was that this effectively reflects \Recent status as opposed
to not \Seen status.  Your suggestion has the same flaw.

What you want, I think, is some kind of notification for "a message that
did not have \Seen status just had \Seen applied, and all messages now
have \Seen status".  :-)

That is the beauty of using recent.  It solves the 98% case.  The other 2%
is very complicated to solve.

Don't forget, if you consider "new" to be "not seen", then that means that
if a user reads his mail, decides not to read a particular message at that
time, and then opens his mail the next day, he has "new" mail even if no
further messages arrived between that time.

I would be very much annoyed if I was continually harassed about a "new"
message which I specifically choose to defer reading until later.

IMAP considers a message to be "new" only if it is both recent and unread,
and recognizes a separate concept of an "unread" message which is no
longer "new".

The fact that a particular client may not choose to present this is not a
reason to declare recent/marked/unmarked useless, and is especially not a
reason for a server to deliberately sabotage this IMAP facility.  We
already have the deplorable example of servers which respond NO to SEARCH
commands.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to