Thanks for eBook request"; $message3 = "Thanks"; $message4 = "www.ensembler.com "; $message5 = "B-254 Okhla Phase I,New Delhi"; $message6 = "Phone:+91 11 4051 7700"; $message7 = "Fax:+91 11 4051 7706 "; $message8 = "Website:www.alliance-infotech.com "; $message12 = "Your eBook Request has been considered."; $message13="Email ID::   "."".$V_EmailId.""; $message14="Registration DateTime::    "."".$regdate.""; $message15="Page Name::    "."".$xtrackone.""; $from='subscriptions@alliance-infotech.com'; $Mail = $V_EmailId ; $to=$Mail; if(isset($_REQUEST['addbtn'])) { #####Database Name Created ####### $passdate=date("Y-m-d"); $entrydate=date("Y-m-d H:i:s"); ################################################## $sql_check_email="select * from tbl_ebookrequest where v_Email='$Mail'"; $result_query1=mysql_query($sql_check_email) or die(mysql_error()); $num_check_email=mysql_num_rows($result_query1); if($num_check_email == '0') { $sql_customer_user="insert into tbl_ebookrequest (v_FirstName,v_CompanyName,V_PhoneNo,v_Email,v_CreatedOn,v_IP, trackone) values ('$V_FirstName','$V_CompanyName','$V_PhoneNo','$V_EmailId','$entrydate','$vass', '$trackone');"; mysql_query($sql_customer_user) or die(mysql_error()); //For mail to customer Date:26-05-2016 $subject = $subject1; $headers = "MIME-Version: 1.0\r\n"; $headers.= "Content-type: text/html; charset=iso-8859-1\r\n"; $body=""; $body=$body."
"; $body=$body.""; $body=$body." "; $body=$body." "; $body=$body.""."Dear  ".$V_FirstName; $body=$body.""; //$body=$body.""; //$body=$body.""; $body=$body.""; //$body=$body.""; $body=$body.""; $body=$body."
"."".$messagedk; //$body=$body."
 
"."".$messagedk1; //$body=$body."
"."".$message11; $body=$body."
 
"."".$message1; //$body=$body."
 
"."".$message9; //$body=$body."
"."".$message10; $body=$body."
 
"."".$message3; $body=$body."
"."".$message4; $body=$body."
"."".$message5; $body=$body."
"."".$message6; $body=$body."
"."".$message7; $body=$body."
"."".$message8; $body=$body."
 
"; $body_admin=""; $body_admin=$body_admin."
"; $body_admin=$body_admin.""; $body_admin=$body_admin." "; $body_admin=$body_admin.""."Dear  Deepak"; $body_admin=$body_admin.""; $body_admin=$body_admin.""; $body_admin=$body_admin.""; $body_admin=$body_admin.""; $body_admin=$body_admin.""; $body_admin=$body_admin.""; $body_admin=$body_admin."
 
"."".$message12; $body_admin=$body_admin."
 
"."".$message13; $body_admin=$body_admin."
"."".$message14; $body_admin=$body_admin."
"."".$message15; $body_admin=$body_admin."
 
 
"."".$message3; $body_admin=$body_admin."
"."".$message4; $body_admin=$body_admin."
"."".$message5; $body_admin=$body_admin."
"."".$message6; $body_admin=$body_admin."
"."".$message7; $body_admin=$body_admin."
"."".$message8; $body_admin=$body_admin."
 
"; $to_admin="deepak.kumar@alliance-infotech.com"; $subject_admin="New eBook Request"; $from_admin="subscriptions@ensembler.com"; $mail_admin=sendMail($from_admin,$to_admin,$subject_admin,'',$body_admin); /*if($mail_admin) { echo "Mail sent
"; } else{echo "Not sent";} */ #MAIL FUNCTION $from=$from_subscription; //$ok_mail=mailcompose($to,$subject,$body,$headers,$from); For simple mail sending ################################################################################################## $subject1 = "Customer eBook successfully or unsuccessfully requestion Message"; ?>Your eBook registration has been done."; ////end sapna///// $from="subscriptions@ensembler.com"; //$filename="CodingStandards.pdf"; //$voicemailtime=date("Y-m-d H:i:s"); //$dir="http://www.ensembler.com/CRM"; //$n="$dir/$filename"; $msg=sendMail($from,$to,$subject,'',$body); /*if($msg) { echo "Mail sent
"; } else{echo "Not sent";}*/ //For mail to customer Date:26-05-2016 } else { $emailerror = "You are already registered for eBook."; } } ?> Ensembler|E-Book

Download eBook

    Name:
   Company:
    Phone:
    Email:

We value your privacy.