simple one for the wishlist
bill parducci
bill@parducci.net
Tue, 13 Feb 2001 17:02:02 -0800 (PST)
it would nice if the size (diskspace) of the INBOX file were reported in the imp
header ('folders' would not be accessible without dorking with filesytem access
<yuck>)
for example:
Message Composition | 108 new, 0 recent | INBOX size: 17005K
something simple like:
$userName="jsmith";
$inboxDir="/var/spool/mail/";
echo "INBOX size: " . ceil((filesize($inboxDir . $userName)/1000)) . "K";
would do it (the variables defined here should obviosuly be replaced with those
already defined in the app -- sorry, i just don't have the time/familiarity to
track down where these are hidden or would have a more specific code snippet.)
anyway, i think it would be helpful for users to know how much space they are
taking up at least in this respect. in a utopian world this information would be
available for the folders as well, but unless imap will report that kind of
thing, the aforementioned unpleasantry would be necessary.
b
--
"Never doubt that a small group of thoughtful, committed citizens can change the
world; indeed, it's the only thing that ever has..."
--Margaret Mead