session_start(); if(isset($_POST['submitted'])) { $name = trim($_POST['name']); $email = trim($_POST['email']); $phone = trim($_POST['phone']); $appdate = trim($_POST['appdate']); $comment = trim($_POST['comment']); $emailTo = "lepps@gapovermd.org"; $subject = 'Contact message from '.$name; $body = "Name: $name \n\n Email: $email \n\n Phone: $phone \n\n Appointment: $appdate \n\n Message: $comment"; $headers = 'From: '. $name . "\r\n" ; @mail($emailTo, $subject, $body, $headers); $emailSent = true; }?>
Please fill out the information below and the date you would like for your appointment. We will get back to you within 24 hours.