POPClear
[Scripts
Archive Main] | [Download Now | Requirements]
POPClear is a script that will delete
all of the messages in a POP3 mailbox. Deleting is done without downloading or
viewing the messages, the script simply connects to the POP3 server and deletes
everything in the mailbox. I wrote this script because the mailbox for my BellSouth.net
dialup account, which I keep as a backup in case my cable modem goes down, gets
nothing but spam.
To use the script,
simply set the configuration variables ($host, $user, $pass) and run the script.
Requirements:
- PHP 4.0 or newer
- PHP must be compiled
with sockets support
Note: POPClear
assumes that the username and password you supply are valid. You will not
get an error message if you specify invalid auth info - the messages will simply
not be deleted from the mailbox.
|