作者 邓超

优化

... ... @@ -2,6 +2,7 @@
namespace Controller;
use Lib\Imap\Fun;
use Lib\Mail\Mail;
use Lib\Mail\MailFun;
use Lib\UploadFile;
... ... @@ -910,6 +911,7 @@ class Home extends Base {
$data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
$data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8');
$data['description'] = Fun::mb_convert_encoding($data['description'],'utf-8');
$data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : [];
$data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : [];
... ...