作者 邓超

x

@@ -128,6 +128,14 @@ class fob_hot_ai_mail_auto_reply { @@ -128,6 +128,14 @@ class fob_hot_ai_mail_auto_reply {
128 128
129 // 验证是否是ai邮箱 129 // 验证是否是ai邮箱
130 if($this->db->count(sprintf("select count(*) from `hot_mail` where `email` = '%s'",$email['email']))){ 130 if($this->db->count(sprintf("select count(*) from `hot_mail` where `email` = '%s'",$email['email']))){
  131 +
  132 + // 验证邮箱状态
  133 + $fobemail = fob_mysql()->cache(300)->first("select `status`,`is_send_mail` from `e_mail_binds` where `email_id` = ".$data['email_id']);
  134 + // 状态异常的跳过
  135 + if(!$fobemail || $fobemail['status']!=1||!$fobemail['is_send_mail']){
  136 + continue;
  137 + }
  138 +
131 // 标记已读 139 // 标记已读
132 $email['password'] = base64_decode($email['password']); 140 $email['password'] = base64_decode($email['password']);
133 $email['host'] = $email['imap']; 141 $email['host'] = $email['imap'];