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