...
|
...
|
@@ -146,6 +146,9 @@ class Mail { |
|
|
* @time 2023/2/18 9:54
|
|
|
*/
|
|
|
public function syncMail($email_id,$folder_id,$folder='INBOX',$db = null):bool {
|
|
|
if(empty($folder)){
|
|
|
return 0;
|
|
|
}
|
|
|
// _echo('正在同步文件夹:'.$folder);
|
|
|
$db = $db ? $db : db();
|
|
|
// 选择文件夹
|
...
|
...
|
@@ -304,7 +307,9 @@ class Mail { |
|
|
* @time 2023/2/9 10:29
|
|
|
*/
|
|
|
public function syncBody($folder_name, $uid , $id, $db=null):bool {
|
|
|
|
|
|
if(empty($folder_name)){
|
|
|
return 0;
|
|
|
}
|
|
|
$db = $db ? $db : db();
|
|
|
// 选择文件夹
|
|
|
$this->client->selectFolder($folder_name);
|
...
|
...
|
|