...
|
...
|
@@ -64,6 +64,7 @@ class syncMail { |
|
|
// 邮件过滤 这些邮箱都是系统邮箱
|
|
|
if(!in_array($data['from'],$filterEmail) || !preg_match("/^((no-?reply)|(postmaster)|(mailer-daemon)|(email-notifications)|(googleplay-noreply))@/i",$data['from'])){
|
|
|
// 通知黑格 2024-08-22 新上 这个是异步的不会阻塞当前进程
|
|
|
try {
|
|
|
SaberGM::post('https://fob.ai.cc/api/email_new_push',[
|
|
|
'sign' => md5(date('ymd').'fob.ai.cc.email'),
|
|
|
'id' => $id,
|
...
|
...
|
@@ -72,6 +73,10 @@ class syncMail { |
|
|
'from' => $data['from'],
|
|
|
'tos' => array_column(json_decode($data['to_name'],1),'email')
|
|
|
]);
|
|
|
}catch (\Throwable $e){
|
|
|
// 就算异常了也不在推送了
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|