''){
$_SESSION['sencclmail']=$sendmail;
$searchmail="select user_id,password,contact_person from eindia_member_master where user_id='$sendmail' limit 0,1";
} else if($urls<>''){
$searchcid=mysql_query("select email,comp_id from cms_company_details where url like '%$urls%' limit 0,1");
$fdatas=mysql_fetch_array($searchcid);
$cmail=$fdatas['email'];
$comma_separated = explode(",",$cmail);
$new_client_mail=trim($comma_separated[0]);
$_SESSION['sencclmail']=$new_client_mail;
$searchmail="select user_id,password,contact_person from eindia_member_master where user_id='$new_client_mail'";
}else{
header("location:forgotpassword.html?msgs=wrong") or die("Enter Email Id OR URL");
}
$searchdone=mysql_query($searchmail) or die(mysql_error());
$nos=mysql_num_rows($searchdone);
if($nos > 0)
{
$ff=mysql_fetch_array($searchdone);
$memberid=$ff['user_id'];
$PASSWORD=$ff['password'];
$fname=$ff['contact_person'];
$msg = " Hello $fname
";
$msg .= "Your Account Details:
";
$msg .= "Login Url: http://eindiato_tourism.com/login
";
$msg .= "Username: $memberid
";
$msg .= "Password: $PASSWORD
";
$msg .= "==================================================
";
$msg .= "For Advent InfoSoft (P) Ltd.
";
$msg .= "Manager - Customer Support,
";
$msg .= "Advent InfoSoft (P) Ltd.
";
$msg .= "(An ISO 9001:2000 Company)
";
$msg .= "http://www.advent.co.in
";
$msg .= "Noida Office:
";
$msg .= "B-78, Sector 65 NOIDA - 201301, India
";
$msg .= "Tel: 91-120- 2406247 / 2406248 Fax: 91- 120 - 4210873
";
$msg .= "24- Hour Support: +91- 98100 21539 / 98100 40138
";
$msg .= "Email : info@eindiato_tourism.com
";
$msg .= "Website : http://www.eindiato_tourism.com
";
$msg .= "Mumbai Office:
";
$msg .= "503, Dimple Arcade Annexe, Thakur Complex, Kandivali (E), Mumbai 400 101
";
$msg .= "Tel : 91- 022 4264 4564
";
$msg .= "24- Hour Support: +91- 98100 21539 / 98100 40138
";
$msg .= "Email : b2b@eindiabusiness.com
";
$msg .= "Website : http://www.eindiato_tourism.com
";
//echo $msg; exit;
$mail = new PHPMailer();
$mail->Mailer = "smtp";
$mail->From = "b2b@eindiabusiness.com";
$mail->FromName ="B2B - eindiato_tourism.com";
$mail->Subject = "Account Details of Lising in eindiato_tourism.com - One of the fastest growing Business Directory of India";
$mail->Host ="127.0.0.1";
$mail->Body = $msg;
$mail->AltBody = $msg;
$mail->AddAddress($memberid,"");
$mail->AddBCC("vikash@eindiabusiness.com","");
$mail->Send();
header("location:forgotpassword.html?msgs=ok") or die("Could not url work 1");
}
else
{
header("location:forgotpassword.html?msgs=wrong") or die("Could not url work 2");
}
}
?>
FORGOT PASSWORD |