Update contact-form-process.php

This commit is contained in:
hxcde 2023-03-28 13:02:20 +02:00 committed by GitHub
parent 11cc0ee625
commit d246b2d34c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<?php
if (isset($_POST['Message'])) {
$email_to = "email@example.de";
$email_to = "recipient@example.de";
$email_subject = "Contact form";
function problem($error)
@ -20,7 +20,7 @@ if (isset($_POST['Message'])) {
}
$name = $_POST['Name'];
$email = 'email@example.de';
$email = 'sender@example.de';
$message = $_POST['Message'];
$error_message = "";