...
|
...
|
@@ -33,7 +33,9 @@ class Home extends Base { |
|
|
}
|
|
|
}
|
|
|
|
|
|
if($folder_ids){
|
|
|
$folder_ids = array_values($folder_ids);
|
|
|
}
|
|
|
|
|
|
// 默认查询 inbox
|
|
|
if(!is_array($folder_ids) || !$folder_ids){
|
...
|
...
|
@@ -132,7 +134,8 @@ class Home extends Base { |
|
|
$udate = $udate > $maxudate ? $udate : $maxudate;
|
|
|
|
|
|
// 通过时间来搜索uid
|
|
|
$uids = $mail->client->search(['ON'=>date('Y-m-d H:i:s',$udate)]);
|
|
|
$uids = $mail->client->search(['SINCE'=>date('d-M-Y',$udate)],true);
|
|
|
|
|
|
// 进行同步
|
|
|
$mail->syncUidEmail(
|
|
|
$uids,
|
...
|
...
|
|