From 2af72d137d4a7f959735714c5fee964b95123252 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 12 Jul 2021 17:18:28 -0400 Subject: [PATCH] Have emails go into the logs by default, make note to users to change that #1259 --- app/Services/Installer/ConfigService.php | 2 +- config/mail.php | 18 ++---------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/app/Services/Installer/ConfigService.php b/app/Services/Installer/ConfigService.php index 2c6f385a..c9a01458 100644 --- a/app/Services/Installer/ConfigService.php +++ b/app/Services/Installer/ConfigService.php @@ -33,7 +33,7 @@ class ConfigService extends Service 'DB_EMULATE_PREPARES' => false, 'CACHE_DRIVER' => 'array', 'CACHE_PREFIX' => '', - 'MAIL_DRIVER' => 'mail', + 'MAIL_DRIVER' => 'log', 'MAIL_HOST' => '', 'MAIL_PORT' => 587, 'MAIL_ENCRYPTION' => '', diff --git a/config/mail.php b/config/mail.php index 1631ed6d..3b935738 100755 --- a/config/mail.php +++ b/config/mail.php @@ -1,20 +1,6 @@ env('MAIL_MAILER', 'smtp'), 'mailers' => [ 'smtp' => [ @@ -28,7 +14,7 @@ return [ ], 'ses' => [ - 'transport' => 'seapp/Contracts/Command.php:105s', + 'transport' => 'ses', ], 'mailgun' => [ @@ -46,7 +32,7 @@ return [ 'log' => [ 'transport' => 'log', - 'channel' => env('MAIL_LOG_CHANNEL'), + 'channel' => env('MAIL_LOG_CHANNEL', 'stack'), ], 'array' => [