require "Header.php"; ?> require "Initialize.php"; if(isset($_POST['SubmitForgotPassword'])) { require_once('mail_settings.php'); $subject = "Your NARSC Account Information"; $Email = trim(strtolower($_POST['Email'])); $Participants_sql = mysqli_query($conn,"SELECT * FROM participants WHERE Email = '$Email' AND AccountStatus != 'o'"); if(mysqli_num_rows($Participants_sql) == 1) { $Participants_field = mysqli_fetch_array($Participants_sql); $to = trim($Participants_field['Email']); $body = "This message contains your NARSC account information.\n"; $body .= "Username: ".$Participants_field['Username']."\n"; $body .= "Password: ".$Participants_field['Password']."\n"; // mail ($to, $subject, $body, $headers); //function sendMail($subject, $recipient, $body) sendMail($subject, $to, $body); ?>
If you forgot your password or have trouble logging in, please send an e-mail to us at support@meetingsavvy.com that includes the login information which is not working.
} ?> require "Footer.php"; ?>