Fixes ACCOUNTS-BF. Fix smtp transport configuration

This commit is contained in:
ErickSkrauch 2024-12-02 13:59:36 +01:00
parent c92ece3fed
commit 2d649afd4f
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -59,7 +59,7 @@ return [
'class' => yii\symfonymailer\Mailer::class, 'class' => yii\symfonymailer\Mailer::class,
'viewPath' => '@common/mail', 'viewPath' => '@common/mail',
'transport' => [ 'transport' => [
'class' => Symfony\Component\Mailer\Transport\Smtp\SmtpTransport::class, 'scheme' => 'smtp',
'host' => getenv('SMTP_HOST'), 'host' => getenv('SMTP_HOST'),
'username' => getenv('SMTP_USER'), 'username' => getenv('SMTP_USER'),
'password' => getenv('SMTP_PASS'), 'password' => getenv('SMTP_PASS'),