previousMail_Mbox::hasBeenModified (Previous) (Next) Mail_Mbox::opennext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Mail_Mbox::insert

Mail_Mbox::insert() – Insert a message

Synopsis

require_once '/Mbox.php';

mixed Mail_Mbox::insert ( string $content , mixed $offset = null )

Description

Mail_Mbox will insert the message according to the specified offset. (Remember: message 3 is the fourth message). The default is to insert the message AFTER the last message (offset = null).

Note: Mail_Mbox automatically adds \n\n at end of the message.

Parameter

string $content

The content of the new message.

mixed $offset

Return value

returns Return true or the PEAR_Error object on failure.

previousMail_Mbox::hasBeenModified (Previous) (Next) Mail_Mbox::opennext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.