Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (11 years ago) RSS 2.0 feedStarStar 38%Total: 3,409 This week: 1All time: 946 This week: 1,364Down
Version License Categories  
mbox 1.0GNU Lesser General Publ...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: 31
All time rank: 896 in Brazil Brazil
Week rank: 751 Down63 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,409All time:946
 This week:1This week:1,364Down
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:33%StarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:38%StarStar
Rank:2213