Mail_Mbox 1.0

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

Mail_Mbox 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)

License type: LGPL - GNU Lesser General Public License
Date added: 5 years, 10 months 17 days ago | Last updated: 5 years, 10 months 17 days ago

More popular Email

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

mail_mbox
Hot Scripts
Sponsors