PHP Manual
Prev |  | Next

# imap_renamemailbox

(PHP 3, PHP 4 )

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

Returns `TRUE` on success and `FALSE` on error.

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

Prev | Home | Next
imap_qprint | Up | imap_reopen