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.

Paramètres

entier $message

The number of Message to updated

chaîne de caractères $content

The new content of the Message

Valeur retournée

returns Return true if all is ok, else PEAR_Error