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"; }