From e84605bc450aba2dd7e45d00b8fc04fe9e50e73c Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 13 Mar 2026 12:18:47 -0600 Subject: [PATCH] Fix email sending? --- source/static/lib/email.lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/static/lib/email.lib.php b/source/static/lib/email.lib.php index 162c1f4..31db83f 100644 --- a/source/static/lib/email.lib.php +++ b/source/static/lib/email.lib.php @@ -90,13 +90,14 @@ class Email { } $mail->Port = $this->smtpport; + + $mail->CharSet = "UTF-8"; + $mail->Encoding = 'base64'; if (empty($this->html)) { $mail->isHTML(false); - $mail->CharSet = "text/plain; charset=UTF-8;"; $mail->Body = $this->body; } else { $mail->isHTML(true); - $mail->CharSet = "text/html; charset=UTF-8;"; $mail->Body = $this->html; $mail->AltBody = $this->body; }