...
|
...
|
@@ -450,6 +450,18 @@ class Home extends Base { |
|
|
$this->setFlags('answered');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 星标
|
|
|
* @throws \Lib\Err
|
|
|
* @author:dc
|
|
|
* @time 2024/6/21 16:35
|
|
|
*/
|
|
|
public function star_2_unstar(){
|
|
|
$this->setFlags('flagged');
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -680,6 +692,11 @@ class Home extends Base { |
|
|
$mailInstance->answered(array_column($uid,'uid'),$folder['origin_folder'],$fv);
|
|
|
break;
|
|
|
}
|
|
|
// 星标
|
|
|
case 'flagged':{
|
|
|
$mailInstance->flagged(array_column($uid,'uid'),$folder['origin_folder'],$fv);
|
|
|
break;
|
|
|
}
|
|
|
// 回收站,已删 未删,软删
|
|
|
// case 'deleted':{
|
|
|
// $mailInstance->recycle(array_column($uid,'uid'),$folder['origin_folder'],$fv);
|
...
|
...
|
|