mail absender
This commit is contained in:
parent
c2e488c8e7
commit
e4a21f4d7c
2
mail.php
2
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!';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user