550 North Reo Street
Suite 300
Tampa, FL 33609-1065
Tel 813-637-9554
Fax 800-595-9167
4900 Manatee Ave. W.
Suite 101
Bradenton, FL 34209-3859
Tel 941-722-6887
Fax 800-595-9167
//if form NOT submitted
} else { ?>
// see if the code the user typed matched the generated code
if (strtoupper($_POST['code']) == $_SESSION['code']) { ?>
// mail
$MailTo = "sandra@sandrajwilliamscpa.com";
$Body = "Name: ".$_POST['FirstName']."\n\n";
$Body = $Body."Phone: ".$_POST['Phone']."\n\n";
$Body = $Body."Email: ".$_POST['Email']."\n\n";
$Body = $Body."Message: ".stripslashes($_POST['Message'])."\n\n";
$Subject = "Online News Letter Request";
$FromEmail = "From: ".$_POST['Email'];
mail($_POST['Email'], "Thank You from Sandra J. Williams, C.P.A., P.A.!", "Thank you for contacting Sandra J. Williams, C.P.A., P.A. You will receive our news letter shortly!", "From: sandra@sandrajwilliamscpa.com ");
mail($MailTo, $Subject, $Body, $FromEmail);
?>
Thank You!
Thank you for contacting Sandra J. Williams, C.P.A., P.A. !
You will receive our news letter shortly!
// otherwise, bad code entered
} else { ?>
You have entered the wrong code. Please try again.