getfromform(); $fields = array ( "domain" => array ("request", "string", ""), "email" => array ("request", "string", ""), "pop" => array ("request", "integer", 0), "pass" => array ("request", "string", ""), "passconf" => array ("request", "string", ""), "alias" => array ("request", "string", ""), ); getFields($fields); if ($pass != $passconf) { $error = _("Passwords do not match"); include("mail_add.php"); exit(); } if (!$mail->add_mail($domain,$email,$pop,$pass,$alias,$trash->expiration_date_db)) { $error=$err->errstr(); $addok=0; include ("mail_add.php"); } else { $addok=1; $error=sprintf (_("The email address %s has been successfully created"),"$email@$domain"); if ($many) { unset($email,$pass,$alias); include("mail_add.php"); } else { include("mail_list.php"); } exit(); } ?>