array ("request", "array", ""),
	"domain"  => array ("request", "string", ""),
);
getFields($fields);
if (!is_array($d)) {
        $d[]=$d;
}
reset($d);
include_once ("head.php");
if ($confirm=="y") {
while (list($key,$val)=each($d)) {
	if (!$mail->del_mail($val)) {
		$error.=sprintf(_("The mailbox %s does not exist!")."
",$val);
	} else {
		$error.=sprintf(_("The mailbox %s has been deleted!")."
",$val); 
	}
}
include("mail_list.php");
 exit();
}
?>