Should add check about `Yii::$app->mail->useFileTransport`.