[imp] Total Mailbox Size.

Jan Schneider jan@horde.org
Thu, 29 Aug 2002 11:57:22 +0200


Zitat von Michael M Slusarz <slusarz@bigworm.colorado.edu>:

> Quoting Ziaur Rahman <zrahman@partex.net>:
> 
> |
> | The corrected one can be found here:
> |
> | http://203.123.8.13/patches/imp-total-mailbox-size-patch
> 
> Sorry I didn't notice this thread earlier... because actually all that is
> needed is:
> 
> $info = imap_mailboxmsginfo($imp['stream']);
> $size = $info->Size;
> 
> $size now contains the mailbox size.

Do you know of any performance hits this might have? Or do we call
imap_mailboxmsginfo() anyway in the mailbox code?
If there are performance issues this should be a configuration option like
the show_attachments option.

Jan.

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