private function sendEmailRecovery($email, $recoveryCode){
Yii::$app->mailer->compose('recovery/pass.php', [
'recoveryCode' => $recoveryCode,
'urlRec' => Url::to(['hash/getter'], true),
])
->setFrom(Yii::$app->params['mainEmailSender'])
->setTo($email)
->setSubject('восстановление пароля')
->send();
}