Answer the question
In order to leave comments, you need to log in
Why is Yii2 sending emails via mail() and not via smtp even though smtp is configured?
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'transport' => [
'class' => 'Swift_SmtpTransport',
'host' => '**',
'username' => '**',
'password' => '**',
'port' => '25',
],
'useFileTransport' => false,
],
Answer the question
In order to leave comments, you need to log in
Doesn't send yii anything via mail. Give the code of the place where the sending goes, I'm ready to argue that it is there that the sending via mail goes bypassing the mailer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question