if ($_POST['send'] == 'Send') {
$txtname = strip_tags($_POST['txtname']);
$txtemail = strip_tags($_POST['txtemail']);
$txtcomment = strip_tags($_POST['txtcomment']);
$subject_line = strip_tags($_POST['subject_line']);
if (!empty($txtcomment)) {
$txt = date("F j, Y, g:i a") . "
Name: $txtname
Email: $txtemail
$txtcomment
";
mail("info@batchsmart.com","Request for information from website",$txt,"From: info@batchsmart.com");
//mail("ralph@willowtec.com","Online registration",$txt,"From: info@batchsmart.com");
if (!empty($txtemail)) mail($txtemail,"Request for information from Batch Smart","Thank you for your inquiry. You will be notified via email once your inquiry has been addressed.","From: info@batchsmart.com");
$msg = "";
}
else
$msg = "";
}
?>