IMAP 函数
PHP 手册

imap_renamemailbox

(PHP 4, PHP 5)

imap_renamemailboxRename an old mailbox to new mailbox

说明

bool imap_renamemailbox ( resource $imap_stream , string $old_mbox , string $new_mbox )

This function renames on old mailbox to new mailbox (see imap_open() for the format of mbox names).

参数

imap_stream

An IMAP stream returned by imap_open().

old_mbox

The old mailbox name, see imap_open() for more information

new_mbox

The new mailbox name, see imap_open() for more information

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


IMAP 函数
PHP 手册