Mail_Mbox::size Mail_Mbox::_move

Mail_Mbox

PEAR Manual


Mail_Mbox::update

Mail_Mbox::update() -- Update a message

Synopsis

require_once '/Mbox.php';

mixed Mail_Mbox::update ( int $message , string $content )

Description

Replaces a given message with the text passed to this method.

Note: Mail_Mbox auto adds \n\n at end of the message

Note: messages start with 0.

Parameter

integer $message

The number of the Message to update.

string $content

The new content of the Message.

Return value

returns Return true if all is ok, otherwise PEAR_Error



Mail_Mbox::size Mail_Mbox::_move

Mail_Mbox

PEAR Manual