PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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,434 This week: 1All time: 951 This week: 1,114Down
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: 916 in Brazil Brazil
Week rank: 618 Down47 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  
 0%Total:3,434All time:951
 This week:1This week:1,114Down
 User Ratings  
 All time