Login   Register  
PHP Classes
elePHPant
Icontem

Clear MBox Class: Clean mailbox from spam and unauthorized messages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-06-03 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 851 All time: 3,764 This week: 1,478Up
Version License Categories  
clearmbox 1.0Custom (specified in a ...Email
Description Author  

This class can be used to cleanup a mailbox from spam and unauthorized messages.

It can access to one or more mailboxes via POP3 or IMAP, scan the messages in the mailboxes and delete those that do not satisfy certain requirements.

Currently it deletes all messages except:

- Messages from authorized domains
- Messages from authorized senders with known mail addresses
- Messages with a valid authorization code in the subject text

The class can also run in the testing mode, on which no messages are deleted.

Innovation Award  
PHP Programming Innovation award nominee
June 2006
Number 7


Prize: One copy of DWeb Pro Lifetime License
Spam is one of the worst plagues of the modern days Internet. Trying to eliminate spam messages from mail boxes is no longer a viable activity to be performed manually by human users.

This package provides an automated PHP solution that can help to eradicate at least part of the spam messages that we receive.

Even though there is plenty of room for improvement, this package can be evolved and be used as a good basis for an automated solution to filter unsolicited messages that arrive in mailboxes used by PHP applications.

It can be useful not only for Web mail like applications, but also for instance in e-mail based trouble-ticket like support applications.

Manuel Lemos
Picture of Pierre FAUQUE
Name: Pierre FAUQUE <contact>
Classes: 10 packages by
Country: France France
Age: 67
All time rank: 19012 in France France
Week rank: 219 Down12 in France France Equal
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Screenshots  
  • spammed_mbox.png
  • webcron1.png
  • webcron2.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file README.txt Doc. Short goal of this class
Accessible without login Plain text file LISEZMOI.txt Data URL and author's PGP key
Plain text file class.clearmbox.php Class The class itself
Accessible without login Plain text file cmb.conf.php Conf. Configuration of the class
Accessible without login Plain text file greenvalues.txt Data File holding the green values (authorized domains/emails)
Accessible without login Plain text file listmbox.txt Data File holding the mailboxes to be cleaned
Accessible without login Plain text file passmail.php Aux. Script to generate a pass code to put in the subject
Accessible without login Plain text file as.php Example Example of script anti-spam :o)
Accessible without login Image file demo-mode.png Output Example in demo mode (or test mode)
Accessible without login Plain text file AFPL.txt Lic. Aladdin Free Public License

 Version Control Unique User Downloads Download Rankings  
 0%Total:851All time:3,764
 This week:0This week:1,478Up