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