...
|
...
|
@@ -195,7 +195,10 @@ function sync($email_id){ |
|
|
$call = function ($email_id,$folder_id,$origin_folder) use ($mailServer){
|
|
|
// 同步父文件夹
|
|
|
$result = $mailServer->syncMail($email_id,$folder_id,$origin_folder);
|
|
|
_echo('同步文件夹('.$origin_folder.')邮件列表 '.(is_array($result)?count($result):'未同步'));
|
|
|
if(is_array($result) && $result){
|
|
|
_echo($email_id.' 同步文件夹('.$origin_folder.')邮件列表 '.count($result));
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
// $folders = list_to_tree($folders);
|
...
|
...
|
|