Commit 826a4d92 by germanliu

Update tutorial-mailing.md

parent 6f7faf57
...@@ -61,7 +61,7 @@ $message->setTo(Yii::$app->params['adminEmail']) ...@@ -61,7 +61,7 @@ $message->setTo(Yii::$app->params['adminEmail'])
``` ```
> Note: each 'mailer' extension comes in 2 major classes: 'Mailer' and 'Message'. 'Mailer' always knows > Note: each 'mailer' extension comes in 2 major classes: 'Mailer' and 'Message'. 'Mailer' always knows
the class name and specific of the 'Message'. Do not attempt ot instantiate 'Message' object directly - the class name and specific of the 'Message'. Do not attempt to instantiate 'Message' object directly -
always use `compose()` method for it. always use `compose()` method for it.
You may also send several messages at once: You may also send several messages at once:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment