PHP Classes

Mail_Mbox: A mbox parser to get, change, add and del messages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2002-12-29 (13 years ago) RSS 2.0 feedStarStar 38%Total: 3,447 All time: 954 This week: 1,012Down
Version License Categories
mbox 1.0GNU Lesser Genera...Email
Description Author

A Mbox parser class that reads, changes, adds and deletes messages from a mbox file.

The class has the following methods:

int resource mbox->open(string file)
open a mbox and return a resource id

bool mbox->close(resource)
close a mbox resource id

int mbox->size(resource)
return mbox number of messages

string mbox->get(int resource,messageNumber)
return the message number of the resource

bool mbox->update(int resource,int messageNumber,string message)
update the message offset to message (need write permission)

bool mbox->delete(int resource,int messageNumber)
remove the message messageNumber (need write permission)

bool mbox->insert(int resource,string message[,$offset = null])
add message to the end of the mbox. Offset == 0 message will be
append at first message. If after == null will be the last one message.
(need write permission)

Picture of Roberto Bertó
Name: Roberto Bertó <contact>
Classes: 9 packages by
Country: Brazil Brazil
Age: 32
All time rank: 906 in Brazil Brazil
Week rank: 523 Down41 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file mbox.php Class The Class
Accessible without login Plain text file mbox_test.php Example Some test things and a example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:954
This week:1,012Down
 User Ratings  
 All time