0) { $input_name =$_POST["contact-name"]; $input_email = $_POST["contact-email"]; $input_phone = $_POST["contact-phone"]; $input_subject = $_POST["contact-subject"]; $textarea_message =$_POST["contact-message"]; $emailList="leads@clientsnow.co.in"; $headers .= "Bcc: ".$emailList."\r\n"; $body = " Hi Orbit & Oculoplasty Clinic , You have one enquiry from, Below are the details, Name = ".$input_name." Email = ".$input_email." Phone = ".$input_phone." Company = ".$input_subject." Message = ".nl2br($textarea_message)." "; if(mail("dkls44@yahoo.com","Inquiry", $body,$headers)) { header("Location: thankyou.php"); } else { header("Location: contact.php"); } } else header("Location: index.php"); ?>