Contact

[php]
$response = “”;
if (isset($_POST[“email”]) && isset($_POST[“content”]))
{
$to = “info@walsallchristadelphians.org.uk”;
$from = $_POST[“email”];
$subject = “Walsall Christadelphians”;
$headers = “From:” . $from;
mail($to,$subject,$_POST[“content”],$headers);
$response = ‘Thank you, your message has been sent.’;
}
else
{
$response = ‘Please enter a message and your email address to send us a message.‘;
}

echo $response;

[/php]