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_edit.php");
exit();
}
if (!$mail->put_mail_details($email,$pop,$pass,$alias,$trash->expiration_date_db)) {
$error_edit=$err->errstr();
$addok=0;
include ("mail_edit.php");
} else {
$ok=sprintf(_("The email address %s has been successfully changed"),$email)."
";
$addok=1;
$t=explode("@",$email);
$email=$t[0];
$error=$ok;
include("mail_list.php");
exit();
}
?>