<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <?php
    
    $email = $_POST['email'];
    $TextBody = "From New Jerusalem Haitian Baptist Church attendance system";
    $HtmlBody = $_POST['emailmessage'];
    $Subject = "We missed you last sunday";
    $headers = "FROM: contactus@newjerusalemonline.org";
    
    $t = mail($email, $Subject, $HtmlBody, $headers);
    echo $t;








    
    
    ?>
</body>
</html>