Law Offices of Ronald J. Wronko, LLC
New Jersey Office
96 Park Street
Montclair, NJ 07042
(973) 509-0050
(973) 509-2003 (facsimile)
ron@ronwronkolaw.com
New York Office
305 Madison Avenue, Suite 449
New York, New York 10165
(212) 886-9057
(212) 957-1912 (facsimile)
|
Sign Up to Recieve Our Newsletter and FREE Phone Consultation
Please note that name and email address are required in order to receive email newsletter.
::::";
$body.="";
$body.="| Newsletter and FREE Phone Consultation | ";
$body.="| Name | ".stripslashes(utf8_decode($_POST['name']))." | ";
$body.="| Email | ".stripslashes(utf8_decode($_POST['email']))." | ";
if(!empty($_POST['address'])){
$body.="| Address | ".stripslashes(utf8_decode($_POST['address']))." | ";}
if(!empty($_POST['city'])){
$body.="| City | ".stripslashes(utf8_decode($_POST['city']))." | ";}
if(!empty($_POST['state'])){
$body.="| State | ".stripslashes(utf8_decode($_POST['state']))." | ";}
if(!empty($_POST['zip'])){
$body.="| Zip | ".stripslashes(utf8_decode($_POST['zip']))." | ";}
if(!empty($_POST['comments'])){
$body.="| Comments | ".stripslashes(utf8_decode($_POST['comments']))." | ";}
$body.="| | ";
$subject="New Submission!";
$email=$_POST['email'];
function sendMail($email,$subject,$body,$headers="")
{
$to="drdavidmilner@denverpsychologist.org";
$from = $email;
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$from."\r\n";
if( !@mail($to,$subject,$body,$headers) )
return false;
else
return true;
}
sendMail($email,$subject,$body);
$red="Thank you!";
}
}
?>
  |