New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to instantiate component or class "yii\symfonymailer\Mailer::class". #10
Comments
When you add 'mailer' => [
'class' => yii\swiftmailer\Mailer::class, |
I´m idiot , yes it is. |
Не помогло, у меня PhpStorm подсказывает что класса вообще нет. |
Did you run composer install? Also, note the missing slash Line 46 in a10e0b1
|
On the same day I noticed that the class was not installed. @samdark Александр, а разве этот класс не устанавливается сразу при развёртывании Yii2 Advance? |
Hi, If I add :: class show the error:
Failed to instantiate component or class "yii\symfonymailer\Mailer::class".
but if I not use ::class work well
'class' => 'yii\symfonymailer\Mailer',
I belive that is need change in Readme.
By the way, I change from 'yii\swiftmailer\Mailer' to 'yii\symfonymailer\Mailer' and for the moment all work well, this is my changes:
With Swiftmailer;
and with Symfony:
The text was updated successfully, but these errors were encountered: