Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
appendMessage(
string|Zend_Mail_Message|Zend_Mime_Message $message, null|string|Zend_Mail_Storage_Folder $folder
=
null, null|array $flags
=
null
)
:
append a new message to mail storage
copyMessage(
int $id, string|Zend_Mail_Storage_Folder $folder
)
:
null
copy an existing message
createFolder(
string $name, string|Zend_Mail_Storage_Folder $parentFolder
=
null
)
:
null
create a new folder
This method also creates parent folders if necessary. Some mail storages may restrict, which folder may be used as parent or which chars may be used in the folder name
moveMessage(
int $id, string|Zend_Mail_Storage_Folder $folder
)
:
null
move an existing message
removeFolder(
string|Zend_Mail_Storage_Folder $name
)
:
null
remove a folder
renameFolder(
string|Zend_Mail_Storage_Folder $oldName, string $newName
)
:
null
rename and/or move folder
The new name has the same restrictions as in createFolder()
setFlags(
int $id, array $flags
)
:
set flags for message
NOTE: this method can't set the recent flag.