Mail_Mbox::update() – Update a message


require_once '/Mbox.php';

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


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.


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

Get number of messages in this mbox (Previous) Copy a file to another (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.