修复邮件发送乱码的问题
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
530b18e856
commit
1dbae08e62
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user