contact form
This commit is contained in:
parent
a5db5eb5ad
commit
226f304b63
|
|
@ -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: <noreply@skyflytravel.hu>" . "\r\n";
|
||||
$headers .= "From: <kapcsolat@skyflytravel.hu>" . "\r\n";
|
||||
if ($email) {
|
||||
$headers .= "Reply-To: $email" . "\r\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue