\r\n" . "X-Mailer: PHP/" . phpversion()); /********************* SMTP EMAIL WITH PHPMAILER LIBRARY ********************* i have heard lots of complaints that users not able to receive email using mail() function so i am using alternate SMTP emailing which is quite fast and reliable. Before you use this you should create POP/SMTP email in your hosting account This script needs class.phpmailer.php and class.smtp.php files from PHPMailer library. Download here: http://phpmailer.sourceforge.net ********************************************************************************/ require('class.phpmailer.php'); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = $smtp_host; $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = $smtp_user; // SMTP username $mail->Password = $smtp_passwd; // SMTP password $mail->From = $smtp_from; $mail->FromName = $smtp_from_name; $mail->AddAddress($user_email); $mail->Subject = $smtp_subject; $mail->Body = $message; $mail->WordWrap = 50; $mail->Send(); $msg = urlencode("Your account password has been reset and a new password has been sent to your email address."); header("Location: forgot.php?msg=$msg"); exit(); } ?> Forgot Password
 

 

 

 

 

 

Forgot Password

$_GET[msg]"; } /******************************* END ********************************/ ?>

If you have forgot the account password, you can reset password and a new password will be sent to your email address.

 
Your Email

 

Click here to go to User Login once you have your new Password