From 14bda3332d8eaedfe98aa967347699223b06ea77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 19 Jun 2025 22:59:10 +0800 Subject: [PATCH] =?UTF-8?q?PHPMailer=E4=BD=BF=E7=94=A8=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/MsgNotice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/MsgNotice.php b/app/utils/MsgNotice.php index 4e9b2e4..6c186ac 100644 --- a/app/utils/MsgNotice.php +++ b/app/utils/MsgNotice.php @@ -187,7 +187,7 @@ class MsgNotice $mail_pwd = config_get('mail_pwd'); if (!$mail_name || !$mail_port || !$mail_smtp || !$mail_pwd) return false; $mail = new PHPMailer(true); - $mail->setLanguage('zh_cn', app()->getRootPath().'vendor/phpmailer/phpmailer/language/'); + $mail->setLanguage('zh_cn'); try { $mail->SMTPDebug = 0; $mail->CharSet = 'UTF-8';