C
C
Crash2017-09-04 09:39:05
Yii
Crash, 2017-09-04 09:39:05

Why does encoding fail?

The Yii2 project is configured to send error messages to email. But instead of Russian letters, hieroglyphs are obtained (
03236e6f135543b7927c2bb037dedb13.png
The encoding is standard, utf-8
Config with sending settings:

'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => false,
            'transport' => [
                'class' => 'Swift_SmtpTransport',
                'host' => 'smtp.***.ru',
                'port' => '25',
                'encryption' => 'tls',
            ],
        ],

What can be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2017-09-04
@politon

Project from github from our smaller squint brothers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question