imap_renamemailbox

Example

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

Description

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

Return Values

Returns TRUE on success or FALSE on failure.