Skip to content

A free open source IT asset/license management system

Fixed #7099 - set email to null by default for backup notifications

snipe37f950ab4295
diff --git a/.env.example b/.env.example
index ae6cbe6b7e..d495111d78 100644
--- a/.env.example
+++ b/.env.example
@@ -43,6 +43,7 @@ [email protected]
MAIL_FROM_NAME='Snipe-IT'
MAIL_REPLYTO_NAME='Snipe-IT'
# --------------------------------------------
# REQUIRED: IMAGE LIBRARY
diff --git a/config/backup.php b/config/backup.php
index ae8a7367e0..ec1171a008 100644
--- a/config/backup.php
+++ b/config/backup.php
@@ -132,7 +132,7 @@ return [
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class,
'mail' => [
- 'to' => '[email protected]',
+ 'to' => env('MAIL_BACKUP_NOTIFICATION_ADDRESS', null),
],
'slack' => [