$mbox = imap_open ("{your.imap.host:143}", "mailadmin", "password"); if(!imap_set_quota($mbox, "user.kalowsky", 3000)) {print "Error in setting quota\n"; return;} imap_close($mbox);
예 1. imap_set_quota() example