Commit ef51c7b2 by Alexander Makarov

Merge pull request #1409 from crtlib/patch-1

Broken example of mail component usage
parents 3db7a075 b3758765
......@@ -20,9 +20,9 @@ You can then send an email as follows:
```php
Yii::$app->mail->compose('contact/html')
->from('from@domain.com')
->to($form->email)
->subject($form->subject)
->setFrom('from@domain.com')
->setTo($form->email)
->setSubject($form->subject)
->send();
```
......
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