diff --git a/apps/advanced/common/mail/layouts/html.php b/apps/advanced/common/mail/layouts/html.php
index a9689cc..b7235d1 100644
--- a/apps/advanced/common/mail/layouts/html.php
+++ b/apps/advanced/common/mail/layouts/html.php
@@ -3,14 +3,15 @@ use yii\helpers\Html;
/**
* @var \yii\web\View $this
- * @var \yii\mail\BaseMessage $content
+ * @var \yii\mail\MessageInterface $message
+ * @var string $content
*/
?>
beginPage() ?>
-
+
= Html::encode($this->title) ?>
head() ?>
diff --git a/apps/basic/mail/layouts/html.php b/apps/basic/mail/layouts/html.php
index a9689cc..b7235d1 100644
--- a/apps/basic/mail/layouts/html.php
+++ b/apps/basic/mail/layouts/html.php
@@ -3,14 +3,15 @@ use yii\helpers\Html;
/**
* @var \yii\web\View $this
- * @var \yii\mail\BaseMessage $content
+ * @var \yii\mail\MessageInterface $message
+ * @var string $content
*/
?>
beginPage() ?>
-
+
= Html::encode($this->title) ?>
head() ?>
diff --git a/docs/guide/tutorial-mailing.md b/docs/guide/tutorial-mailing.md
index 6dcdd89..5189b14 100644
--- a/docs/guide/tutorial-mailing.md
+++ b/docs/guide/tutorial-mailing.md
@@ -150,7 +150,7 @@ use yii\helpers\Html;
-
+