code: protected function sendMail($to, $subject, $view, $params = [])
  		{
  			$mailer           = Yii::$app->mailer;
  			$mailer->viewPath = '@abhimanyu/user/views/mail';
  
  			return $mailer->compose(['html' => $view, 'text' => 'text/' . $view], $params)
  				->setTo($to)
  				->setFrom(Yii::$app->config->get('mail.username'), 'no@reply.com')
  				->setSubject($subject)
  				->send();
  		}
docs: Sends mail using the Swift Mailer
  
  @param string       $to      Senders Email
  @param string       $subject Message Subject
  @param string|array $view    Message View
  @param array        $params  Message Parameters
  
  @return bool