mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 19:20:29 +08:00
@@ -141,6 +141,7 @@ Layout can be used to setup mail CSS styles or other shared content:
|
||||
use yii\helpers\Html;
|
||||
|
||||
/* @var $this \yii\web\View view component instance */
|
||||
/* @var $message \yii\mail\MessageInterface the message bing composed */
|
||||
/* @var $content string main view render result */
|
||||
?>
|
||||
<?php $this->beginPage() ?>
|
||||
@@ -227,4 +228,4 @@ another one for the 'Message'.
|
||||
You can use `yii\mail\BaseMailer` and `yii\mail\BaseMessage` as a base classes for your solution. These classes
|
||||
already contains basic logic, which is described in this guide. However, their usage is not mandatory, it is enough
|
||||
to implement `yii\mail\MailerInterface` and `yii\mail\MessageInterface` interfaces.
|
||||
Then you need to implement all abstract methods to build you solution.
|
||||
Then you need to implement all abstract methods to build you solution.
|
||||
|
||||
Reference in New Issue
Block a user