Added UTF-8 support to rsvp-submit.php

This commit is contained in:
spetznas
2026-05-16 23:41:03 +02:00
parent eb925f2eab
commit fceeeda68e
+1
View File
@@ -13,6 +13,7 @@ $allergies = $_POST['allergies'] ?? 'None';
$mail = new PHPMailer(true); $mail = new PHPMailer(true);
try { try {
$mail->CharSet = 'UTF-8'; // <-- Make sure UTF-8 is used
$mail->isSMTP(); $mail->isSMTP();
$mail->Host = $_ENV['SMTP_HOST']; $mail->Host = $_ENV['SMTP_HOST'];
$mail->SMTPAuth = true; $mail->SMTPAuth = true;