From 1dbae08e622b86e4d3c48df9441dcfb35be37981 Mon Sep 17 00:00:00 2001 From: vilson <545522390@qq.com> Date: Tue, 25 Jun 2019 17:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=82=AE=E4=BB=B6=E5=8F=91?= =?UTF-8?q?=E9=80=81=E4=B9=B1=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: vilson <545522390@qq.com> --- application/project/controller/Login.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/project/controller/Login.php b/application/project/controller/Login.php index 2374600..3e07dd9 100644 --- a/application/project/controller/Login.php +++ b/application/project/controller/Login.php @@ -229,6 +229,7 @@ class Login extends BasicApi $mailer = new Mail(); try { $mail = $mailer->mail; + $mail->CharSet = 'utf-8'; $mail->setFrom(config('mail.Username'), 'pearProject'); $mail->addAddress($email, getCurrentMember()['name']); //Content