[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] rename mailbox
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] rename mailbox |
Date: |
Fri, 05 Dec 2003 11:24:35 +0200 |
Stephen Bylo <address@hidden> wrote:
> Is this below the only way to "rename" a mailbox ?
> Why is there no mailbox_rename() like there is folder_rename() ?
You may use folder_rename:
mailbox_get_folder(mbox, &folder);
folder_rename(folder, oldname, newname);
Anyway, a common wrapper like mailbox_rename() is a good idea.
Regards,
Sergey