0)
{
while($rrr = mysql_fetch_array($query))
{
$password = $rrr['password'];
$to = 'info@thahryamal.com';
$subject = $subject;
$message = 'Your Password is : '.$password;
include '../library.php';
include "../classes/class.phpmailer.php";
$email = $to;
$mail = new PHPMailer;
$mail->IsSMTP();
$mail->Host = SMTP_HOST;
$mail->Port = SMTP_PORT;
$mail->SMTPAuth = true;
$mail->Username = SMTP_UNAME;
$mail->Password = SMTP_PWORD;
$mail->AddReplyTo($email, $name);
$mail->SetFrom("mail@thahryamal.com", "thahryamal");
$mail->Subject = "Forgot Password - thahryamal.com";
$mail->AddAddress($to, "thahryamal");
$mail->MsgHTML($message);
$send = $mail->Send();
}
}
else
{ ?>
Error : Invalid Username !