On Wed, 27 Aug 2003, Henry Baragar wrote:
>> Actually, it means that Opera has only asked for the number of messages,
>> the next UID value and the number of recent messages. Opera can also ask
>> for UNSEEN, but it doesn't.
>So, Opera sends a "STATUS INBOX (MESSAGES UIDNEXT RECENT)".  Should it send 
>a "STATUS INBOX (MESSAGES UIDNEXT RECENT UNSEEN)"?  Is there something else 
>it should send (in your opinion)?

It shouldn't need to ask for more - UIDNEXT is enough to check if there 
have been deliveries to the mailbox - MESSAGES and RECENT are probably to 
know how many messages to report.

>> Actually, the '1 RECENT' means that one message has arrived in the 
>> mailbox
>> that Opera has never seen before. It denotes a recent delivery, and most
>> email clients use this (and a changed MESSAGES or UNSEEN) to report a
>> recent delivery.
>Er, except that Opera does not mark a message read until the user 
>explicitly marks the message as being read. The '1 recent' refered to a 
>message that Opera downloaded and that I saw (ok read) but did not actually 

If Opera did not have the folder selected, then the RECENT 1 means that 
Opera has never seen it before. Once the folder is selected, the RECENT 
flag remains throughout the session and is removed when the folder is 
closed again. So it's not persistent.

The \Seen flag means wether you as the user have actually downloaded the
message and read at least part of it. So a message being unseen does not
necessarily mean that it just got delivered.

>name.   In this case, there was one unread message in "cur" and another 
>unread message in "new" that was also unseen.

The message in new/ was the message that STATUS reported as RECENT 1. This 
is the message that should have triggered a recent delivery in Opera.

Now I realize that Binc may not update UIDNEXT with the STATUS command.  
So it can report 1 RECENT but then, logically, UIDNEXT should have
increased by one value. I will look more into this, but if this is the 
case then the missing delivery notification may well be a bug in Binc.

Andy :-)

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | "It is better not to do something
                       |  than to do it poorly."

Reply via email to