'; $subject = 'Contact Request - epiphanymarthoma.org'; $message = "A contact request has been recieved:

Name: ". $name ."
Email: " . $email . "
Phone: " . $phone. "

Message:
" . $content ; //New Email Header //$headers .= "MIME-Version: 1.0\r\n"; //$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n"; //$headers .= "From: " . $from ."\r\n"; //$headers .= "To: " . $to . " <" . $to . ">\r\n"; //$headers .= "Reply-To: " . $from . "\r\n"; //$headers .= "X-Priority: 1\r\n"; //$headers .= "X-MSMail-Priority: High\r\n"; //$headers .= "X-Mailer: smtpmailer.hostek.net"; //Old Email Header # $headers = 'From:' .$from . "\r\n" . # 'Reply-To: '. $to . "\r\n" . # 'X-Mailer: PHP/' . phpversion(); if (preg_match("/[a-z]/i", $phone) || !filter_var($email, FILTER_VALIDATE_EMAIL)) { #SPAM Email... Do not send email... ## mail($to, "Spam Attempt", 'Caught spam'."\n"."\n".$message, $headers ); $status1 = "Invalid data entered! Message could not be sent!"; $status2 = "Please try again."; } else { //if( ! preg_match("/[a-z]/i", $phone) && filter_var($email, FILTER_VALIDATE_EMAIL) ) // Send the email using send_email.php function $email_msg = smtp_mailer($recipient_email,$subject,$message); if ($email_msg == "Sent") { $status1 = "Message sent successfully!"; $status2 = "Someone will be in touch with you soon!"; $name = $phone = $email = $content = ""; } else { $status1 = "Message could not be sent!"; $status2 = "Please try again."; } } #else # { # $status1 = "Message could not be sent!"; # $status2 = "Please try again."; # } }else { $status1 =""; $status2 =""; } echo " Contact Us "; include 'header.php'; echo "
Homepage Contact

Contact Us

If you would like a representative of our parish to reach out to you, we ask that you kindly take a moment to fill out the form below.

".$status1."

".$status2. "





Directions

By Road:
Epiphany Mar Thoma Church
103-05, 103 St.
Ozone Park, NY 11417

For driving directions, please click here.

By Subway:
Take the "A" train to the 104 St & Liberty Avenue Stop.
Exit near intersection of 104th St and Liberty Ave.
Walk to intersection of 103rd St and Liberty Ave.
Turn right onto 103rd St walking towards 103rd Ave.
Epiphany MTC main entrance is on the right.

Contact Us

If you would like to contact us, here's our contact information.

Epiphany Mar Thoma Church
     103-05 104th St.
     Ozone Park, NY 11417.

 718.845.2920

 vicar@epiphanymarthoma.org
"; include 'subnavigation.php'; echo "
  • facebook
  • youtube
"; include 'footer.php'; echo " "; ?>