I have problem with content send html message via smtp swiftmailer component under yyi2(2.0.1).
When I send message from script on linux system message show me wrong content of massage, in mail program message show me information
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi, sebokra
...
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
....
Hi, sebokra
when the same script i use on windows apache message looks excelent.
I used script
return \Yii::$app->mailer->compose()
->setFrom([\Yii::$app->params['supportEmail'] => \Yii::$app->name . ' (automat)'])
->setTo($this->mail)
->setSubject('Reset hasła dla firmy - ' . \Yii::$app->name)
->setTextBody("Hi, ".$user->www_username."...")
->setHtmlBody('<b>Hi, '.$user->www_username.'...')
->send();
my config component
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'useFileTransport' => false,
'transport' => [
'class' => 'Swift_SmtpTransport',
.....
],