From e4a21f4d7c72086e10d9e5db2d1e0d1368898c0c Mon Sep 17 00:00:00 2001 From: troy Date: Sun, 18 Dec 2022 19:29:34 +0100 Subject: [PATCH] mail absender --- mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.php b/mail.php index e0603dd..d770dec 100644 --- a/mail.php +++ b/mail.php @@ -58,6 +58,7 @@ function send_html_mail($an, $betreff, $text, $ok = '', $error = '') { } function send_php_mail($an, $betreff, $text, $ok = '', $error = '') { + global $_sendermail; $sender = 'noreply@troy-grunt.de'; if (isset ( $_sendermail )) { $sender = $_sendermail; @@ -77,5 +78,4 @@ function send_php_mail($an, $betreff, $text, $ok = '', $error = '') { echo 'Message sent!'; } } - ?> \ No newline at end of file