diff --git a/config/mail.php b/config/mail.php index 75c353d56a0..3e86ea99a88 100644 --- a/config/mail.php +++ b/config/mail.php @@ -57,7 +57,7 @@ 'sendmail' => [ 'transport' => 'sendmail', - 'path' => '/usr/sbin/sendmail -bs', + 'path' => env('SENDMAIL','/usr/sbin/sendmail -bs'), ], 'log' => [