Skip to content

A free open source IT asset/license management system

Use environment variable and default to PHP's sendmail_path

Joel Pittet608c5d037f48
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' => [