...
|
...
|
@@ -645,6 +645,15 @@ class Home extends Base { |
|
|
if($reload){
|
|
|
// 删除原有数据
|
|
|
db()->delete(bodySql::$table,['lists_id'=>$id]);
|
|
|
//同步基础信息
|
|
|
$mail = new Mail($email['email'],base64_decode($email['password']),$email['imap']);
|
|
|
if($mail->login()){
|
|
|
$folder = db()->value(folderSql::first(['id'=>$data['folder_id']],'origin_folder'));
|
|
|
if($folder){
|
|
|
$mail->client->selectFolder($folder);
|
|
|
$mail->syncUidEmail([$data['uid']],$email['id'],$folder,$data['folder_id'],[],[],db());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
HOME_INFO_BODY:
|
...
|
...
|
|