Email: Mail_Mbox
Roberto Bertó (contact me)
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)
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Not sure (58.3%)
| Insufficient (33.3%)
| -
| Not sure (58.3%)
| -
| -
| Insufficient (38.3%)
| 1699 |
Click here for detailed information about this class on phpclasses.org