PHP : Function Reference : IMAP, POP3 and NNTP Functions : imap_setacl
masneyb
stream_id is the stream returned from imap_open
id is the user to give the rights to
rights is the rights to give to that user
So if I want to give user admin full access to my entire mailbox, I could run
imap_setacl ($conn, "user.masneyb", "admin", "lrswipcda")
panayotis
I noticed that using:
imap_setacl ($conn, $mbox, $userid, "")
will act like:
"deleteaclmailbox $mbox $userid" (remove the ACL on mailbox for userid).
|