\n"; $headers .= "Reply-To: $fromEmail \r\n"; $headers .= "X-Mailer: PHP/". phpversion(); $headers .= "X-Priority: 3 \n"; $headers .= "MIME-version: 1.0\n"; $headers .= "Content-Type: text/html; charset=UTF-8\n"; $msg=$message; @mail($to, $subject, $msg, $headers); } if ($_POST['Submit']=="Submit") { if(($_SESSION['verification_code'] == $_REQUEST['security_code'])) { $email=$_POST['email']; $mess= "
Dear ".$_POST['first_name']." ,

Thanks for sending us an inquiry, We will get back to you in 24-48 hours.


Thanks & Regards,
".WEBSITE_NAME.",
2/29 G-1, Sector -9, Judge Colony, Vaishali, Ghaziabad, Uttar Pardesh-201012

Phone.: +91-9810243478
"; $fromPerson=ADMIN_NAME; $from_email=ADMIN_EMAIL; $subject="Enquiry @ ".WEBSITE_NAME; //echo $mess; send_email($fromPerson, $from_email, $email, $subject, $mess); $ContactPerson=ADMIN_NAME; $to_email=SITE_EMAIL; $subject1="Enquiry @ ".WEBSITE_NAME; $mess1= "
Dear ".$ContactPerson.",

"; if (!empty($_POST['first_name'])) { $mess1.= ""; } if (!empty($_POST['email'])) { $mess1.= ""; } if (!empty($_POST['country'])) { $mess1.= ""; } if (!empty($_POST['address'])) { $mess1.= ""; } if (!empty($_POST['Mobile'])) { $mess1.= ""; } if (!empty($_POST['zipcode'])) { $mess1.= ""; } if (!empty($_POST['subject'])) { $mess1.= ""; } if (!empty($_POST['description'])) { $mess1.= ""; } $mess1.= "
You have received an enquiry. Details of which are as follows:
Name : ".$_POST['first_name']; $mess1.= "
Email ID : ".$_POST['email']."
Country : ".$_POST['country']."
Address : ".$_POST['address']."
Mobile : ".$_POST['Mobile']."
Zip Code : ".$_POST['zipcode']."
Subject : ".$_POST['subject']."
Message : ".$_POST['description']."
"; $mess1.= "Thanks
Team
".WEBSITE_NAME."
"; //echo $mess1; send_email($_POST['first_name'], $email, $to_email, $subject1, $mess1); //$err_message="Your enquiry has been sent successfully. We will get back to you soon."; header("Location:thankyou.htm"); exit; } else{ $err_message_con='Please fill right verification code.'; } } ?> Contact Us - Agrocrofters

Contact Us

Office Address:

2/29 G-1, Sector -9, Judge Colony, Vaishali, Ghaziabad, Uttar Pardesh-201012

Mobile:

Mr Balraj Singh Tomar (Director)
+91-9810243478

Send Us a Message

".$err_message_con."

"; $err_message = ''; } ?>