imap_renamemailbox

imap_renamemailbox -- Rename an old mailbox to new mailbox

Description

int imap_renamemailbox(int imap_stream, string old_mbox, string new_mbox);

This function renames on old mailbox to new mailbox.

Returns true on success and false on error.