...
|
...
|
@@ -59,15 +59,21 @@ class syncMail { |
|
|
}
|
|
|
}else{
|
|
|
if($f == 's'){
|
|
|
// 通知黑格 2024-08-22 新上 这个是异步的不会阻塞当前进程
|
|
|
SaberGM::post('https://fob.ai.cc/api/email_new_push',[
|
|
|
'sign' => md5(date('ymd').'fob.ai.cc.email'),
|
|
|
'id' => $id,
|
|
|
'subject' => $data['subject'],
|
|
|
'udate' => $data['udate'],
|
|
|
'from' => $data['from'],
|
|
|
'tos' => array_column(json_decode($data['to_name'],1),'email')
|
|
|
]);
|
|
|
// 邮件过滤
|
|
|
if(!preg_match("/^((no-?reply)|(postmaster)|(mailer-daemon))@/i",$data['from'])){
|
|
|
// 通知黑格 2024-08-22 新上 这个是异步的不会阻塞当前进程
|
|
|
SaberGM::post('https://fob.ai.cc/api/email_new_push',[
|
|
|
'sign' => md5(date('ymd').'fob.ai.cc.email'),
|
|
|
'id' => $id,
|
|
|
'subject' => $data['subject'],
|
|
|
'udate' => $data['udate'],
|
|
|
'from' => $data['from'],
|
|
|
'tos' => array_column(json_decode($data['to_name'],1),'email')
|
|
|
]);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|