diff --git a/web/app/models/UOJMail.php b/web/app/models/UOJMail.php index a248019..e481069 100644 --- a/web/app/models/UOJMail.php +++ b/web/app/models/UOJMail.php @@ -13,6 +13,7 @@ class UOJMail { $mailer->Username = UOJConfig::$data['mail']['noreply']['username']; $mailer->Password = UOJConfig::$data['mail']['noreply']['password']; $mailer->setFrom(UOJConfig::$data['mail']['noreply']['username'], UOJConfig::$data['profile']['oj-name-short']); + $mailer->addCC(UOJConfig::$data['mail']['noreply']['username'], UOJConfig::$data['profile']['oj-name-short']); $mailer->CharSet = "utf-8"; $mailer->Encoding = "base64"; return $mailer; @@ -50,13 +51,12 @@ class UOJMail {