updated for final test

This commit is contained in:
Gary 2025-05-14 15:18:33 +01:00
parent 1c0d3dd9de
commit 176b9676a0

View File

@ -31,7 +31,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
echo "<div class='alert alert-danger text-center'>Incorrect CAPTCHA answer. Please try again.</div>";
} else {
$to = "gary@uklb.co.uk"; // TEST EMAIL DESTINATION
$website_name = "Your Website Name"; // Replace with your actual website name
$website_name = "Warmseal Roofing contact"; // Replace with your actual website name
$from_email = "noreply@" . $_SERVER['HTTP_HOST']; // A common practice for website forms
$headers = "From: " . $website_name . " <" . $from_email . ">" . "\r\n" .
"Reply-To: " . $name . " <" . $email . ">" . "\r\n" .