作者 邓超

自动回复 把邮件从垃圾箱移到收件箱

@@ -532,7 +532,7 @@ class SyncMail { @@ -532,7 +532,7 @@ class SyncMail {
532 // 自动回复 设置 用 532 // 自动回复 设置 用
533 if(!$data['is_hots']){ 533 if(!$data['is_hots']){
534 $foldername = $this->db->cache(86400)->value(folderSql::first($folder_id,'folder')); 534 $foldername = $this->db->cache(86400)->value(folderSql::first($folder_id,'folder'));
535 - if(in_array($foldername,['收件箱','垃圾箱'])){ 535 + if(in_array($foldername,['垃圾箱'])){
536 // 新邮件id,丢入redis 536 // 新邮件id,丢入redis
537 redis()->rPush('new_mail_ids',$id.'.'.(time()+120)); 537 redis()->rPush('new_mail_ids',$id.'.'.(time()+120));
538 } 538 }