Skip to content

Commit 68dd7a4

Browse files
committed
Separate Http Base Action and REST Classes
1 parent ae69725 commit 68dd7a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Service/Provider/MailerSMTPServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public function register(): void
6060

6161
$username = $app->get(Config::class)->get('mail.smtp.username', '');
6262
$password = $app->get(Config::class)->get('mail.smtp.password', '');
63+
$encryption = $app->get(Config::class)->get('mail.smtp.encryption', SMTP::ENCRYPTION_NONE);
64+
$smtp->setEncryption($encryption);
6365
if (!empty($username) && !empty($password)) {
6466
$smtp->setAuth($username, $password);
6567
}

0 commit comments

Comments
 (0)