From 6f10d909f516e3fa3de0099bc9df722389ec7c17 Mon Sep 17 00:00:00 2001 From: Matthias Van Woensel <3532563+matthiaz@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:32:07 +0200 Subject: [PATCH] Update platformsh-laravel-env.php Laravel 7+ compatibility --- platformsh-laravel-env.php | 1 + 1 file changed, 1 insertion(+) diff --git a/platformsh-laravel-env.php b/platformsh-laravel-env.php index 5bd136b..dcb4797 100644 --- a/platformsh-laravel-env.php +++ b/platformsh-laravel-env.php @@ -161,6 +161,7 @@ function mapPlatformShMail(Config $config) : void } setEnvVar('MAIL_DRIVER', 'smtp'); + setEnvVar('MAIL_MAILER', 'smtp'); // From laravel 7 onwards MAIL_DRIVER is renamed to MAIL_MAILER setEnvVar('MAIL_HOST', $config->smtpHost); setEnvVar('MAIL_PORT', '25'); setEnvVar('MAIL_ENCRYPTION', '0');