imap_setacl
PHP function
Edit on GitHub ✎
(PHP 4 >= 4.0.7, PHP 5, PHP 7, PHP 8)
Sets the ACL for a given mailbox
Description
imap_setacl(IMAP\Connection $imap, string $mailbox, string $user_id, string $rights): bool
Sets the ACL for a giving mailbox.
Parameters
mailboxThe mailbox name, see
imap_open()for more informationInsecure
user_idThe user to give the rights to.
rightsThe rights to give to the user. Passing an empty string will delete acl.
Return Values
Success
Changelog
| Version | Description |
|---|
Notes
This function is currently only available to users of the c-client2000 or greater library.