Skip to content

Commit

Permalink
Remove usage of swiftmailer and use symphony mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
msinghai committed Oct 22, 2023
1 parent e23b89d commit c119537
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion library/config/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,17 @@
'authorizationManager' => ['class' => 'usni\library\modules\auth\business\AuthManager'],
'configManager' => ['class' => 'usni\library\business\ConfigManager'],
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'class' => 'yii\symfonymailer\Mailer',
'htmlLayout' => '@usni/library/mail/layouts/html',
'transport' => [
'scheme' => 'smtps',
'host' => '',
'username' => '',
'password' => '',
'port' => 465,
'dsn' => 'native://default',
],
'useFileTransport' => true,
]
],
'params' => [],
Expand Down

0 comments on commit c119537

Please sign in to comment.