diff --git a/www/account_manager/new_user.php b/www/account_manager/new_user.php index e5e9619..b9694d9 100644 --- a/www/account_manager/new_user.php +++ b/www/account_manager/new_user.php @@ -133,10 +133,10 @@ You should change your password as soon as possible. Go to ${SITE_PROTOCOL}${SE EoT; include_once "mail_functions.inc.php"; - $sent_email = send_email($email,"$first_name $last_name",$mail_subject,$mail_body); + $sent_email = send_email($mail,"$first_name $last_name",$mail_subject,$mail_body); $creation_message = "The account was created"; if ($sent_email) { - $creation_message .= " and an email sent to $email."; + $creation_message .= " and an email sent to $mail."; } else { $creation_message .= " but unfortunately the email wasn't sent.
More information will be available in the logs.";