Commit b3758765 by Paul Kofmann

Broken example of mail component usage

parent 3db7a075
......@@ -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