title: Yii2 error swift mail
body: <p>Good Morning,</p>
  
  <p>I'm using Swift Mailer for applications, but I found that it returns an error code.</p>
  
  <p>ReflectionException</p>
  
  <p>Class Swift_Mime_ContentEncoder_QpContentEncoderProxy does not exist</p>
  
  <p>this is the link: <a href="http://demonagency.com/legno/web/site/about" rel="nofollow noreferrer">http://demonagency.com/legno/web/site/about</a></p>
  
  <p>this is a portion code</p>
  
  <p>
  
  <pre><code>Yii::$app-&gt;mailer-&gt;compose()
  -&gt;setFrom('info@jd.com')
  -&gt;setTo('prove@jd.com')
  -&gt;setSubject('Prova jd')
  -&gt;setTextBody('Testo Prova')
  -&gt;setHtmlBody('&lt;b&gt;HTML content&lt;/b&gt;')
  -&gt;send();
  </code></pre>
  
  <p>>
  Any idea?</p>