connect(($server_ssl?"ssl://":"").$server_host, $server_port); $sock->set_login($server_login,$server_pass); $sock->set_method('POST'); $sock->query('/CMD_API_EMAIL_LIST', array( 'action' => 'delete_subscriber', 'domain' => $domain, 'name' => $list, 'select0' => $email )); $result = $sock->fetch_parsed_body(); if ($result['error'] != "0") { echo "Error removing E-Mail from mailing list:
\n"; echo $result['text']."
\n"; echo $result['details']."
\n"; } else { show_form("", "E-Mail Deleted from list"); } exit(0); } show_form(); exit(0); function show_form($error="", $result="") { global $email, $domain, $list; ?>
"; echo $result; echo ""; } else { ?>

Remove your address from mailing list

E-Mail Address to remove: "; echo $error; echo ""; } ?>