@ -20,9 +20,9 @@ You can then send an email as follows:
```php
Yii::$app->mail->compose('contact/html')
->from('from@domain.com')
->setFrom('from@domain.com')
->to($form->email)
->setTo($form->email)
->subject($form->subject)
->setSubject($form->subject)
->send();
```