public function actionMailer()
{
try {
if (Yii::$app->mail->smtpTest($this->verbose)) {
return $this->outputSuccess("successfull connected to SMTP Server '" . Yii::$app->mail->host . "'");
}
} catch (\Exception $e) {
return $this->outputError($e->getMessage());
}
}