fix: Not just pass it along but really use the subject ;)

This commit is contained in:
muli 2022-08-09 17:42:35 +02:00
parent f58ba3bbc1
commit 360f90fc9d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function sanitize_text(string $name) {
function send_message_to_office($subject, $message, $name, $email) {
return mail(
getenv('WTF_CONTACT_TO'),
'spielwiese contact form',
$subject,
$name . "\r\n" . $message,
$additional_headers = array(
"From" => getenv('WTF_CONTACT_FROM'),