summaryrefslogtreecommitdiff
path: root/src/Mail
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-09-11 16:35:28 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-09-11 16:35:28 +0200
commitd36de2d26f5af76d5d4f34f8620694c6d0368983 (patch)
treec53c72acf76ba91c983aaa6de69157003f4eff20 /src/Mail
parent47b3d35f3609017b5f190bb7f6600b9f1bda7224 (diff)
Quickfix for problems with the SmtpTransport
Diffstat (limited to 'src/Mail')
-rw-r--r--src/Mail/MailerServiceProvider.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Mail/MailerServiceProvider.php b/src/Mail/MailerServiceProvider.php
index 70cb0d30..989fee8f 100644
--- a/src/Mail/MailerServiceProvider.php
+++ b/src/Mail/MailerServiceProvider.php
@@ -68,9 +68,12 @@ class MailerServiceProvider extends ServiceProvider
{
/** @var SmtpTransport $transport */
$transport = $this->app->make(SmtpTransport::class, [
- 'host' => $config['host'],
- 'port' => $config['port'],
- 'security' => $config['encryption'],
+ 'host' => $config['host'],
+ 'port' => $config['port'],
+ 'encryption' => $config['encryption'],
+ // TODO: The security variable should be removed in the future
+ // https://github.com/swiftmailer/swiftmailer/commit/d3d6a98ab7dc155a04eb08273db7cd34606e7b5e#commitcomment-30462876
+ 'security' => $config['encryption'],
]);
if ($config['username']) {