作者 邓超

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

@@ -98,8 +98,10 @@ class fob_ai_mail_auto_reply { @@ -98,8 +98,10 @@ class fob_ai_mail_auto_reply {
98 98
99 // 检查 是否开启了自动回复 99 // 检查 是否开启了自动回复
100 list($postid,$source) = $this->getPostid($data['email_id']); 100 list($postid,$source) = $this->getPostid($data['email_id']);
  101 +
101 // 配置 102 // 配置
102 $replySetting = $this->getAutoReplySettingJunk($postid,$email['email']); 103 $replySetting = $this->getAutoReplySettingJunk($postid,$email['email']);
  104 + _echo("垃圾邮件 {$postid} ".($replySetting?1:0)." ".$data['id'].' '.$data['subject']);
103 if($replySetting){ 105 if($replySetting){
104 $ok = true; 106 $ok = true;
105 $email['password'] = base64_decode($email['password']); 107 $email['password'] = base64_decode($email['password']);