/** * Unsubscribe member * * @param string $email The email address of the member to unsubscribe. * * @throws \Exception */ public function unsubscribe($email) { // Delete user from all list $this->service->delete_user($email); // Blacklist user $this->service->create_update_user(array('email' => $email, 'attributes' => array(), 'blacklisted' => 1, 'listid' => array(), 'listid_unlink' => array(), 'blacklisted_sms' => 1)); }