作者 邓超

x

@@ -44,9 +44,9 @@ class syncMail { @@ -44,9 +44,9 @@ class syncMail {
44 44
45 $data['to_name'] = is_array($data['to_name'])?$data['to_name']:json_decode($data['to_name']); 45 $data['to_name'] = is_array($data['to_name'])?$data['to_name']:json_decode($data['to_name']);
46 46
47 - $w = ['email' => array_column($data['to_name'],'email')]; 47 + $w = ['email' => array_map('strtolower',array_column($data['to_name'],'email'))];
48 }else{ 48 }else{
49 - $w = ['email' =>$data['from']]; 49 + $w = ['email' => strtolower($data['from'])];
50 } 50 }
51 // 是否在 预热邮箱中 51 // 是否在 预热邮箱中
52 if($this->db->count('select count(*) from `hot_mail` where '.dbWhere($w))){ 52 if($this->db->count('select count(*) from `hot_mail` where '.dbWhere($w))){