[imp] (no subject)

Michael M Slusarz slusarz at bigworm.colorado.edu
Wed Mar 5 17:00:54 PST 2003


Quoting "Alan J. Cooper" <alan at ednet.co.uk>:

| 
| I have recently moved our webmail system to IMP. Many of our users are
| missing the functionality of our old webmail system that listed the
| number
| of unread messages and total messages eg
| 
| Folder: INBOX (233 Unread/ 804 total)
| 
| Can a display tlike this be achieved?

Yes - you will have to hack the code for the mailbox screen though.  These 
two calls will get you the # of unseen messages in the current mailbox:

$status = imap_mailboxmsginfo($imp['stream']);
$unseen = $status->Unread;

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list