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 Message to updated

string $content

The new content of the Message

Return value

returns Return true if all is ok, else PEAR_Error