PHP.nl

imap_setacl

imap_setacl

Sets the ACL for a given mailbox

bool **imap_setacl** IMAP\Connection $imap string $mailbox string $user_id string $rights

Sets the ACL for a giving mailbox.

mailbox The mailbox name, see for more information imap_open

user_idThe user to give the rights to.

rightsThe rights to give to the user. Passing an empty string will delete acl.

return.success

This function is currently only available to users of the c-client2000 or greater library.

imap_getacl