$Name=$_POST['Name']; $Address=$_POST['Address']; $email=$_POST['email']; $Phone=$_POST['Phone']; $captcha_check=$_POST['captcha_check']; $to="kathy@safermedicines.org"; $subject="Email From Your Website"; $message= $Name."rn".$Address."rn".$email."rn".$Phone; $header .= "Reply-To: $emailrn"; $header .= "Return-Path: $emailrn"; $header .= "From: $emailrn"; $header .= "Content-Type: text/plainrn"; if ($captcha_check=="9437"){ mail($to,$subject,$message, $header); ?>
Thank you for signing up to receive our newsletter.
}else{ ?>
Please go back and try entering the security code again
} ?>