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.

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

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