...
|
...
|
@@ -278,6 +278,12 @@ class Body { |
|
|
}
|
|
|
}
|
|
|
|
|
|
//是否有 =E2=81=B6=E2=81=B6=E2=81=B9=C2=B3=C2=B9=C2=B2=C2=BA=C2=B3=C2=BAS 一样的字符
|
|
|
if($data['type']=='text/plain' && preg_match("/(=[A-Z0-9]{2,}){2,}/",$data['body'])){
|
|
|
// 进行解码
|
|
|
$data['body'] = quoted_printable_decode($data['body']);
|
|
|
}
|
|
|
|
|
|
// 转码
|
|
|
// if(isset($data['charset']) && $data['charset']){
|
|
|
// $debody = @mb_convert_encoding($data['body'],'utf-8',$data['charset']);
|
...
|
...
|
|