正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -366,7 +366,8 @@ class Mail { | @@ -366,7 +366,8 @@ class Mail { | ||
| 366 | if(!$description && in_array($item['type']??'',['text/html','text/plain'])){ | 366 | if(!$description && in_array($item['type']??'',['text/html','text/plain'])){ | 
| 367 | 367 | ||
| 368 | if(!empty($item['charset'])){ | 368 | if(!empty($item['charset'])){ | 
| 369 | - $value = iconv($item['charset'],'utf-8',$item['body']); | 369 | + $value = @iconv($item['charset'],'utf-8',$item['body']); | 
| 370 | + $value = $value ? $value : $item['body']; | ||
| 370 | }else{ | 371 | }else{ | 
| 371 | $value = $item['body']; | 372 | $value = $item['body']; | 
| 372 | } | 373 | } | 
- 
请 注册 或 登录 后发表评论