From 608c5d037f481871990bcc1c02e2bdf961dabec3 Mon Sep 17 00:00:00 2001 From: Joel Pittet Date: Wed, 19 Apr 2023 15:25:48 -0700 Subject: [PATCH] Use environment variable and default to PHP's sendmail_path Use sendmail_path in PHP instead of hardcoded path and options --- config/mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/mail.php b/config/mail.php index d47d182ed3..f650cf5387 100755 --- a/config/mail.php +++ b/config/mail.php @@ -140,8 +140,8 @@ return [ | */ - 'sendmail' => '/usr/sbin/sendmail -bs', - + 'sendmail' => env('SENDMAIL_PATH', ini_get('sendmail_path')), + 'markdown' => [ 'theme' => 'default', 'paths' => [