updated for final test
This commit is contained in:
parent
1c0d3dd9de
commit
176b9676a0
@ -31,7 +31,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|||||||
echo "<div class='alert alert-danger text-center'>Incorrect CAPTCHA answer. Please try again.</div>";
|
echo "<div class='alert alert-danger text-center'>Incorrect CAPTCHA answer. Please try again.</div>";
|
||||||
} else {
|
} else {
|
||||||
$to = "gary@uklb.co.uk"; // TEST EMAIL DESTINATION
|
$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
|
$from_email = "noreply@" . $_SERVER['HTTP_HOST']; // A common practice for website forms
|
||||||
$headers = "From: " . $website_name . " <" . $from_email . ">" . "\r\n" .
|
$headers = "From: " . $website_name . " <" . $from_email . ">" . "\r\n" .
|
||||||
"Reply-To: " . $name . " <" . $email . ">" . "\r\n" .
|
"Reply-To: " . $name . " <" . $email . ">" . "\r\n" .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user