Commit 051f6bcc authored by cuiweifeng's avatar cuiweifeng

update : update send mail

parent f29106b3
......@@ -83,9 +83,8 @@ class FileLog
if (!is_array($mail_to)) {
$mail_to = [$mail_to];
}
foreach ($mail_to as $mail) {
$key = md5(sprintf("%s,%s", $mail, md5($signature)));
if (self::shouldSendEmail($key) === true) {
if (self::shouldSendEmail(md5($signature)) === true) {
foreach ($mail_to as $mail) {
Email::sendMail('bp-noreply@yidian-inc.com', $mail, $subject, $body);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment