[imp] Show new messages in subfolders
Nicolas Schmitz
Nicolas.Schmitz at ec-nantes.fr
Tue Jun 28 03:00:27 PDT 2005
A quick hack to enable this in the left menu is to comment the "if
($imptree->isPolled($mailbox))" in horde/imp/lib/Block/tree_folders.php.
This sould be "by default", or at least a (global) pref.
diff -Nu tree_folders.php tree_folders.php.new
--- tree_folders.php 2005-06-28 12:19:58.426759830 +0200
+++ tree_folders.php.new 2005-06-28 12:19:32.102983539 +0200
@@ -69,7 +69,7 @@
if (!$imptree->isContainer($mailbox)) {
/* We are dealing with mailboxes here. Determine if we
* need to poll this mailbox for new messages. */
- if ($imptree->isPolled($mailbox)) {
+ /*if ($imptree->isPolled($mailbox)) {*/
/* If we need message information for this folder,
* update it now. */
$msgs_info =
$imptree->getElementInfo($mailbox['value']);
@@ -80,7 +80,7 @@
$unseen += $msgs_info['unseen'];
$mailbox['label'] = '<span
dir="ltr"><strong>' . $mailbox['label'] . '</strong> (' .
$msgs_info['unseen'] . ') </span>';
}
- }
+ /* }*/
}
/* If this is the INBOX, save it to later rewrite
our parent
Petr Vyhnal a écrit :
>Hello,
>
>I have IMAP server with Horde/IMP as a webmail. Only thing I can't solve
>is problem with new mails in subfolders When user login he can see x new
>mails in Inbox, but he can't see if he has some new mail in another
>subfolders. I know that he can use something like check all selected
>folders in folders menu, but I want this automatically at login. Is
>there any solution?
>
>Rudiik
>
>
--
Nicolas Schmitz
More information about the imp
mailing list