PHP 手册
上一页 |  | 下一页

# imap_renamemailbox

(PHP 3, PHP 4, PHP 5)

imap_renamemailbox -- Rename 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_createmailbox()
imap_deletemailbox()

上一页 | 起始页 | 下一页
imap_qprint | 上一级 | imap_reopen