+
+ /** Delete a list
+ */
+ public function delete($remove_archives=false)
+ {
+ return $this->mmclient->delete_list($this->mbox, $remove_archives);
+ }
+
+ /** Set antispam level.
+ */
+ public function setBogoLevel($level)
+ {
+ return $this->mmclient->set_bogo_level($this->mbox);
+ }
+
+ /** Get antispam level.
+ *
+ * @return int
+ */
+ public function getBogoLevel()
+ {
+ $bogo = $this->mmclient->get_bogo_level($this->mbox);
+ return $bogo;
+ }
+
+ /** Set public options.
+ *
+ * @param $options array
+ */
+ public function setOwnerOptions($options)
+ {
+ return $this->mmclient->set_owner_options($this->mbox, $options);
+ }
+
+ /** Retrieve owner options
+ *
+ * @return array
+ */
+ public function getOwnerOptions()
+ {
+ return $this->mmclient->get_owner_options($this->mbox);
+ }
+
+ /** Set admin options.
+ *
+ * @param $options array
+ */
+ public function setAdminOptions($options)
+ {
+ return $this->mmclient->set_admin_options($this->mbox, $options);
+ }
+
+ /** Retrieve admin options
+ *
+ * @return array
+ */
+ public function getAdminOptions()
+ {
+ return $this->mmclient->get_admin_options($this->mbox);
+ }
+
+ /** Check options, optionnally fixing them.
+ */
+ public function checkOptions($fix=false)
+ {
+ return $this->mmclient->check_options($this->mbox, $fix);
+ }
+
+ /** Add an email to the list of whitelisted senders
+ */
+ public function whitelistAdd($email)
+ {
+ return $this->mmclient->add_to_wl($this->mbox, $email);
+ }
+
+ /** Remove an email from the list of whitelisted senders
+ */
+ public function whitelistRemove($email)
+ {
+ return $this->mmclient->del_from_wl($this->mbox, $email);
+ }