|
10 | 10 | | Enable/Disable exception email notifications |
11 | 11 | | |
12 | 12 | */ |
13 | | - |
14 | | - 'emailExceptionEnabled' => env('EMAIL_EXCEPTION_ENABLED'), |
15 | | - 'emailExceptionEnabledDefault' => true, |
| 13 | + 'emailExceptionEnabled' => env('EMAIL_EXCEPTION_ENABLED', true), |
16 | 14 |
|
17 | 15 | /* |
18 | 16 | |-------------------------------------------------------------------------- |
|
22 | 20 | | This is the email your exception will be from. |
23 | 21 | | |
24 | 22 | */ |
25 | | - |
26 | | - 'emailExceptionFrom' => env('EMAIL_EXCEPTION_FROM'), |
27 | | - 'emailExceptionFromDefault' => 'email@email.com', |
| 23 | + 'emailExceptionFrom' => env('EMAIL_EXCEPTION_FROM', ''), |
28 | 24 |
|
29 | 25 | /* |
30 | 26 | |-------------------------------------------------------------------------- |
|
34 | 30 | | This is the email(s) the exceptions will be emailed to. |
35 | 31 | | |
36 | 32 | */ |
37 | | - |
38 | | - 'emailExceptionsTo' => env('EMAIL_EXCEPTION_TO'), |
39 | | - 'emailExceptionsToDefault' => 'email@email.com', |
| 33 | + 'emailExceptionsTo' => env('EMAIL_EXCEPTION_TO', ''), |
40 | 34 |
|
41 | 35 | /* |
42 | 36 | |-------------------------------------------------------------------------- |
|
46 | 40 | | This is the email(s) the exceptions will be CC emailed to. |
47 | 41 | | |
48 | 42 | */ |
49 | | - |
50 | | - 'emailExceptionCCto' => env('EMAIL_EXCEPTION_CC'), |
51 | | - 'emailExceptionCCtoDefault' => [], |
| 43 | + 'emailExceptionCCto' => env('EMAIL_EXCEPTION_CC', []), |
52 | 44 |
|
53 | 45 | /* |
54 | 46 | |-------------------------------------------------------------------------- |
|
58 | 50 | | This is the email(s) the exceptions will be BCC emailed to. |
59 | 51 | | |
60 | 52 | */ |
61 | | - |
62 | | - 'emailExceptionBCCto' => env('EMAIL_EXCEPTION_BCC'), |
63 | | - 'emailExceptionBCCtoDefault' => [], |
| 53 | + 'emailExceptionBCCto' => env('EMAIL_EXCEPTION_BCC', []), |
64 | 54 |
|
65 | 55 | /* |
66 | 56 | |-------------------------------------------------------------------------- |
|
70 | 60 | | This is the subject of the exception email |
71 | 61 | | |
72 | 62 | */ |
73 | | - |
74 | | - 'emailExceptionSubject' => env('EMAIL_EXCEPTION_SUBJECT'), |
75 | | - 'emailExceptionSubjectDefault' => 'Error on '.config('app.env'), |
| 63 | + 'emailExceptionSubject' => env('EMAIL_EXCEPTION_SUBJECT', 'Error on ' . config('app.env')), |
76 | 64 |
|
77 | 65 | /* |
78 | 66 | |-------------------------------------------------------------------------- |
|
82 | 70 | | This is the view that will be used for the email. |
83 | 71 | | |
84 | 72 | */ |
85 | | - |
86 | 73 | 'emailExceptionView' => 'emails.exception', |
87 | 74 |
|
88 | 75 | ]; |
0 commit comments