Class: Mail_Mbox
Source Location: /Mail_Mbox-0.1.4/mbox.php
PEAR
|
--Mail_Mbox
Mbox PHP class to Unix MBOX parsing and using
Author(s):
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
[line 162]
Mbox PHP class to Unix MBOX parsing and using LICENSE (LGPL) Copyright (C) 2002-2003 Roberto Berto This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or at http://www.gnu.org/licenses/lgpl.txt 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->remove(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) RELATED LINKS: - CPAN Perl Mail::Folder::Mbox Module
Used as a start point to create this class.
http://search.cpan.org/author/KJOHNSON/MailFolder-0.07/Mail/Folder/Mbox.pm
- PHP Mime Decode PEAR Module
Use it to parse headers and body.
http://pear.php.net/package-info.php?pacid=21
EXAMPLE:
Class Variables
Method Detail
Documentation generated on Fri, 30 Apr 2004 22:02:19 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.
|