From 2a0ba62dbe28f152f5abe23625e2b35f68365d78 Mon Sep 17 00:00:00 2001 From: dozer111 Date: Fri, 27 Jul 2018 17:09:33 +0300 Subject: [PATCH] Mail fix 4 --- common/components/MailerComponent.php | 1 + common/config/params.php | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/components/MailerComponent.php b/common/components/MailerComponent.php index f00352b..d5112df 100644 --- a/common/components/MailerComponent.php +++ b/common/components/MailerComponent.php @@ -41,6 +41,7 @@ class MailerComponent extends Component ->compose() ->setFrom($mail->user) ->setTo($settings->email) + ->setBcc(\Yii::$app->params['artwebAdminEmail']) ->setSubject('Запись на прием: обратная связь') ->setTextBody('Контакт пациента: :' . $params['user_data'] . " просил перезвонить ему " . $time); if ($mail1->send() == false) { diff --git a/common/config/params.php b/common/config/params.php index a18ccbb..ae1a547 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -4,4 +4,5 @@ return [ 'supportEmail' => 'support@example.com', 'user.passwordResetTokenExpire' => 3600, 'artwebAdminEmail' => 'alkhonko@gmail.com', + ]; -- libgit2 0.21.4