PHP Manual
后退 |  | 前进

# imap_renamemailbox

(PHP 3, PHP 4, PHP 5)

imap_renamemailbox -- Rename an old mailbox to new mailbox

## Description

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).

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

See also imap_createmailbox(), imap_deletemailbox(), and imap_open() for the format of mbox.

后退 | 起点 | 前进
imap_qprint | 上一级 | imap_reopen