Skip to content

Commit

Permalink
Merge pull request #19 from matthiaz/matthiaz-patch-1
Browse files Browse the repository at this point in the history
Laravel 7+ renamed MAIL_DRIVER to MAIL_MAILER
Approved via C.Carlson
  • Loading branch information
gilzow committed Aug 10, 2023
2 parents ac87a6c + 6f10d90 commit 4975f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platformsh-laravel-env.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4975f32

Please sign in to comment.