[dev] New messages popup on Horde summary screen

Jan Schneider jan@horde.org
Fri, 14 Jun 2002 19:50:25 +0200


Zitat von Tero Matinlassi <tero.matinlassi@edu.vantaa.fi>:

> The new messages popup on Horde summary screen shows "n new messages" 
> even I don't have a single new/unread message on a folder. Looking the 
> code, I noticed that it's really showing the recent message count for a 
> folder, not the new/unread (unseen) message count. So I changed it like 
> this (sorry about wrapping lines..):

> Now it only shows popup if I really have new messages. Seems like 
> imap_status() differs from imap_headerinfo() so that in the latter one 
> one should check for Recent == 'N' || Unseen == 'U' but the first one 
> counts these both as unseen. Anybody to confirm this? I'm using PHP 
> version 4.1.2.

This didn't change a single thing here.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft