Re: Simple POP3 mailbox checker script
| From: | Torsten Roehr | Date: | Wed, 14 Jul 2004 13:38:30 +0000 |
| Subject: | Re: Simple POP3 mailbox checker script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190472@lists.php.net to get a copy of this message | ||
> Hi all,
> Is there are a simple way of checking quickly using PHP:
> 1) How many email messages on a POP3 mailbox
> 2) How many new email messages on a POP3 mailbox
> 3) The amount of memory in Kb or Mb used up on the POP3 mail box
> I want to be able to show these on our customer control panel. Also I want
> to use cron and a php script to be able to regularly check our customers
> haven't exceeded their mail quota. At the moment we don't have our own
> server and use a multiweb hosting account.
> Many thanks,
> I. Gray
Take a look at PEAR's Net_POP3 package:
http://pear.php.net/package/Net_POP3
Regards, Torsten Roehr