...
|
...
|
@@ -651,15 +651,15 @@ class Imap { |
|
|
}
|
|
|
|
|
|
|
|
|
if(!empty($result[$key]['HEADER.FIELDS']['Subject'])){
|
|
|
$result[$key]['HEADER.FIELDS']['Subject'] = MailFun::mb_coding($result[$key]['HEADER.FIELDS']['Subject'],$charset);
|
|
|
}
|
|
|
if(!empty($result[$key]['HEADER.FIELDS']['From'])){
|
|
|
$result[$key]['HEADER.FIELDS']['From'] = MailFun::mb_coding($result[$key]['HEADER.FIELDS']['From'],$charset);
|
|
|
}
|
|
|
if(!empty($result[$key]['HEADER.FIELDS']['To'])){
|
|
|
$result[$key]['HEADER.FIELDS']['To'] = MailFun::mb_coding($result[$key]['HEADER.FIELDS']['To'],$charset);
|
|
|
}
|
|
|
// if(!empty($result[$key]['HEADER.FIELDS']['Subject'])){
|
|
|
// $result[$key]['HEADER.FIELDS']['Subject'] = MailFun::mb_coding($result[$key]['HEADER.FIELDS']['Subject'],$charset);
|
|
|
// }
|
|
|
// if(!empty($result[$key]['HEADER.FIELDS']['From'])){
|
|
|
// $result[$key]['HEADER.FIELDS']['From'] = MailFun::mb_coding($result[$key]['HEADER.FIELDS']['From'],$charset);
|
|
|
// }
|
|
|
// if(!empty($result[$key]['HEADER.FIELDS']['To'])){
|
|
|
// $result[$key]['HEADER.FIELDS']['To'] = MailFun::mb_coding($result[$key]['HEADER.FIELDS']['To'],$charset);
|
|
|
// }
|
|
|
|
|
|
}
|
|
|
|
...
|
...
|
@@ -748,7 +748,7 @@ class Imap { |
|
|
// 剔除key的值
|
|
|
$item_str = ltrim(implode(':',$item),$item[0].':');
|
|
|
// 解析编码
|
|
|
$item_str = MailFun::mb_coding($item_str);
|
|
|
$item_str = $item_str?MailFun::mb_coding($item_str):$item_str;
|
|
|
|
|
|
// $key = str_replace('-','_',strtolower($item[0]));
|
|
|
$key = $item[0];
|
...
|
...
|
|