Login   Register  
PHP Classes
elePHPant
Icontem

Class: Mail_Mbox

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Roberto Bertó  >  Mail_Mbox  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Mail_Mbox
Base name: mbox
Description: A mbox parser to get, change, add and del messages
Related classes: , ,
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 3293 users
All time rank: 856
Week users: 2 users
Week rank: 1677
Picture of Roberto Bertó
Author: Roberto Bertó <e-mail contact>
Packages: 9 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Age: 28
All time rank: 775 in Brazil Brazil
Week rank: 715 Down53 in Brazil Brazil Down


  Detailed description  
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)

 

  Groups  
Group folder image Email Email sending and receiving View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (58.3%)
Insufficient (33.3%)
-
Not sure (58.3%)
-
-
Insufficient (38.3%)
2013
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
CPAN Perl Mail::Folder::Mbox Module Uused as a start point to create this class
Mail_Mbox at PEAR Mail_Mbox is at PEAR repository. Click to check it.
PHP Mime Decode PEAR Module Use it to parse headers and body

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

Download all files: mbox.tar.gz mbox.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.