title: How to send mail to multiple recipients in Yii2 mailer OR how to add setCc in yii2 mailer
body: <p><strong>How to send mail to multiple recipients in Yii2 mailer?</strong></p>
  <p>This code for a multiple recipient but not working.</p>
  <pre><code>$value = Yii::$app-&gt;mailer-&gt;compose()
              -&gt;setFrom([$this-&gt;email =&gt; $this-&gt;name])
              -&gt;setTo(array($model-&gt;email_1,$model-&gt;email_2))
              -&gt;setSubject($model-&gt;status)
              -&gt;setHtmlBody($model-&gt;description)
              -&gt;send();
  </code></pre>
  <p><strong>How to add setCc in yii2 mailer?</strong></p>
  <p>This code for adding setCc but this is also not working.</p>
  <pre><code>$value = Yii::$app-&gt;mailer-&gt;compose()
              -&gt;setFrom([$this-&gt;email =&gt; $this-&gt;name])
              -&gt;setTo($model-&gt;email_1)
              -&gt;setCc($model-&gt;email_2)
              -&gt;setSubject($model-&gt;status)
              -&gt;setHtmlBody($model-&gt;description)
              -&gt;send();
  </code></pre>