| 
...
 | 
...
 | 
@@ -92,7 +92,7 @@ class fob_ai_mail_auto_reply { | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
                         // 检查是否是垃圾箱
 | 
| 
 | 
 | 
                         $folder = $this->db->cache(3600)->first(folderSql::first($data['folder_id']));
 | 
| 
 | 
 | 
                         $folder = $this->db->throw()->cache(3600)->first(folderSql::first($data['folder_id']));
 | 
| 
 | 
 | 
                         if($folder['folder'] == '垃圾箱'){
 | 
| 
 | 
 | 
                             $email = $this->db->throw()->cache(3600)->first(\Model\emailSql::first($data['email_id']));
 | 
| 
 | 
 | 
 
 | 
| 
...
 | 
...
 | 
@@ -107,6 +107,7 @@ class fob_ai_mail_auto_reply { | 
| 
 | 
 | 
                                 $email['password'] = base64_decode($email['password']);
 | 
| 
 | 
 | 
                                 $email['host'] = $email['imap'];
 | 
| 
 | 
 | 
                                 $mailInstance = \Lib\Imap\ImapPool::get((new \Lib\Imap\ImapConfig($email)));
 | 
| 
 | 
 | 
                                 if($mailInstance->login()){
 | 
| 
 | 
 | 
                                     $msg = $mailInstance->folder($folder['origin_folder'])->msg()->uid($data['uid']);
 | 
| 
 | 
 | 
                                     if(!$msg->move('INBOX')){
 | 
| 
 | 
 | 
                                         if(!$msg->copy('INBOX')){
 | 
| 
...
 | 
...
 | 
@@ -120,6 +121,7 @@ class fob_ai_mail_auto_reply { | 
| 
 | 
 | 
                                     }
 | 
| 
 | 
 | 
                                     $mailInstance = null;
 | 
| 
 | 
 | 
                                 }
 | 
| 
 | 
 | 
                             }
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
                             continue;
 | 
| 
 | 
 | 
                         }
 | 
...
 | 
...
 | 
 |