PHPMailer neu implementiert

This commit is contained in:
Borgal
2025-10-10 21:56:48 +02:00
parent a5904ec344
commit 1a568d75a7
94 changed files with 12874 additions and 80 deletions

View File

@@ -74,3 +74,14 @@ function darken_color($hex, $darken_amount = 40)
return '#' . str_pad(dechex($rgb['r']), 2, '0', STR_PAD_LEFT) . str_pad(dechex($rgb['g']), 2, '0', STR_PAD_LEFT) . str_pad(dechex($rgb['b']), 2, '0', STR_PAD_LEFT);
}
//Mail Funktion
function send_email_notification($to, $subject, $message)
{
$headers = 'From: noreply@domili.de' . "\r\n" .
'Reply-To: noreply@domili.de' . "\r\n" .
'X-Mailer: PHP/' . phpversion() . "\r\n" .
'Content-Type: text/plain; charset=UTF-8';
return mail($to, $subject, $message, $headers);
}