title: Sending email using Swift mailer in Yii2 sent wrong email contents
body: <p>I am using Swift mailer to send email from my Yii2 based web applications. But it can't read/receive in MS Outlook correctly.</p>
  
  <p>Please see the email body bellow which I received using MS Outlook 2010 -</p>
  
  <pre><code>--_=_swift_v4_1430198154_31f7ff2886dc0fb65796db153d9434096acbae54_=_
  Content-Type: text/plain; charset=UTF-8
  Content-Transfer-Encoding: quoted-printable
  
  Dear Admin,=20
  User John has been si= gned up
  successfully.
  
  Thanks,
  The App Tea=
  m
  
  This message was sent to john@example.com. If y= ou don't want
  to receive future emails from ABC, please unsubs= cribe.
  
  
  --_=_swift_v4_1430198154_31f7ff2886dc0fb65796db153d9434096acbae54_=_
  Content-Type: text/html; charset=UTF-8
  Content-Transfer-Encoding: quoted-printable
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.=
  org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns=3D"http://www.w3.org=
  /1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv=3D"Content-Type" con= tent=3D"text/html;
  charset=3DUTF-8" /&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;=
  /head&gt;
  &lt;body&gt;
      Dear Admin, &lt;br&gt;
  &lt;p&gt;User John has been signed up successfully.&lt;/p&gt;
  
  &lt;=
  p&gt;Thanks,&lt;/p&gt;
  &lt;p&gt;The ABC Team&lt;/p&gt;
  
  &lt;br&gt;&lt;br&gt;&lt;br&gt; =
  
  =09
  &lt;p style=3D'color: #B6B6B6'&gt;
      This message was sent to =
  john@example.com. If you don't want to receive future emai= ls
  from ABC, please &lt;a href=3D'#'&gt;unsubscribe&lt;/a&gt;.
  &lt;/p&gt; =
  
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  
  
  --_=_swift_v4_1430198154_31f7ff2886dc0fb65796db153d9434096acbae54_=_--
  </code></pre>
  
  <p>I am using following configuration for encoding-</p>
  
  <pre><code> 'messageConfig' =&gt; [
      'charset' =&gt; 'UTF-8',
  ],
  </code></pre>
  
  <p>And sending using -</p>
  
  <pre><code>Yii::$app-&gt;mailer-&gt;compose('mailview', ['name' =&gt; $name]) 
              -&gt;setFrom([\Yii::$app-&gt;params['adminEmail'] =&gt; \Yii::$app-&gt;name . ' App'])
              -&gt;setTo($to)
              -&gt;setSubject($subject)
              -&gt;send();
  </code></pre>
  
  <p>What am I missing?</p>