From 226f304b637ac9ea3659452be9c908e21020b5ad Mon Sep 17 00:00:00 2001 From: Bognar Date: Sat, 28 Mar 2026 12:22:08 +0100 Subject: [PATCH] contact form --- contact.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contact.php b/contact.php index ad74403..cc8dbe6 100644 --- a/contact.php +++ b/contact.php @@ -9,7 +9,7 @@ header("Content-Type: application/json"); // --- CONFIGURATION --- $secretKey = "6LfqD1osAAAAAEbpEApPkiQUbyjdKYx2OvhY2XTk"; // reCAPTCHA v3 Secret Key -$toEmail = "bognar.szilard83@gmail.com"; +$toEmail = "info@skyflytravel.hu"; $minScore = 0.5; $expectedAction = "contact_form"; // --------------------- @@ -113,7 +113,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; - $headers .= "From: " . "\r\n"; + $headers .= "From: " . "\r\n"; if ($email) { $headers .= "Reply-To: $email" . "\r\n"; }