作者 邓超

email

... ... @@ -296,7 +296,7 @@ class Body {
// 先匹配留存文件名称
$filename = '';
preg_match('/filename="(\w?.*)"/U',$item,$filename);
preg_match('/filename="(\w?.*)"/U',str_replace(["\r","\n"]," ",$item),$filename);
if(!empty($filename[1])){
// $filename = MailFun::decodeMimeStr($filename[1]);
$filename = mb_decode_mimeheader($filename[1]);
... ...