note 38843 added to function.imap-deletemailbox
| From: | kenstumpf | Date: | Thu, 08 Jan 2004 17:10:20 +0000 |
| Subject: | note 38843 added to function.imap-deletemailbox | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63160@lists.php.net to get a copy of this message | ||
Recent versions of the Cyrus imapd define mailbox ACLs as follows:
c (create)
The user may create new sub-mailboxes of the mailbox, or delete or rename the current mailbox.
d (delete)
The user may store the "Deleted" flag, and perform expunges.
This means to delete a mailbox, you will need to give the user you are connecting with via
imap_open() "c" rights on the mailbox in order for imap_deletemailbox() to work. Setting
"d" rights for yourself is not the same.
Check the documentation for your version of Cyrus imapd.
----
Manual Page -- http://www.php.net/manual/en/function.imap-deletemailbox.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38843
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38843&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38843&report=yes
Search -- http://master.php.net/manage/user-notes.php