Skip to content

Commit c44c421

Browse files
authored
Merge pull request #711 from duncanbarnes/master
Added ability to configure email sender name
2 parents 1e98759 + 9a88b2c commit c44c421

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ MAIL_PORT=1025
7575
MAIL_USERNAME=null
7676
MAIL_PASSWORD=null
7777
MAIL_ENCRYPTION=null
78+
MAIL_FROM=null
79+
MAIL_FROM_NAME=null

config/mail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
|
5555
*/
5656

57-
'from' => ['address' => env('MAIL_FROM', 'mail@bookstackapp.com'), 'name' => 'BookStack'],
57+
'from' => ['address' => env('MAIL_FROM', 'mail@bookstackapp.com'), 'name' => env('MAIL_FROM_NAME','BookStack')],
5858

5959
/*
6060
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)