#105_kontaktformular #121

Merged
muli merged 21 commits from #105_kontaktformular into main 2022-08-23 21:58:46 +02:00
Showing only changes of commit 360f90fc9d - Show all commits

View File

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