File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ return [
43
43
'disabledOn' => [
44
44
//
45
45
],
46
+
47
+ 'cacheCooldown' => 10, // in minutes
46
48
];
47
49
```
48
50
@@ -56,6 +58,8 @@ customize the following options:
56
58
` 'subject' ` : Define the subject line for error notification emails. You can use placeholders like ` env('APP_NAME') ` to
57
59
dynamically include your application's name.
58
60
61
+ ` 'cacheCooldown' ` : Set the cooling-off period (in minutes) for error notifications. If the same error occurs several times within this period.
62
+
59
63
` 'disabledOn' ` : You can specify a list of environments (based on ` APP_ENV ` ) where the Error Mailer will be disabled.
60
64
For example, if you want to disable the mailer in the local environment, add 'local' to the array:
61
65
Original file line number Diff line number Diff line change 14
14
## URL :
15
15
# {{ url (request ()-> getPathInfo ()) ?? " " } }
16
16
17
+ @component (' mail::table' )
18
+ | Request : | |
19
+ | --- | --- |
20
+ | **Method** | {{ request ()-> method () } } |
21
+ | **IP** | {{ request ()-> ip () } } |
22
+ | **User Agent** | {{ request ()-> userAgent () } } |
23
+ | **Referrer** | {{ request ()-> header (' referer' ) } } |
24
+ | **Request Time** | {{ \Carbon \Carbon:: createFromTimestamp (request ()-> server (' REQUEST_TIME' ))-> toDateTimeString () } } |
25
+ | **Request URI** | {{ request ()-> server (' REQUEST_URI' ) } } |
26
+ @endcomponent
27
+
28
+ @if (auth ()-> check () )
29
+ @component (' mail::table' )
30
+ | Auth User : | |
31
+ | --- | --- |
32
+ | **ID** | {{ auth ()-> id () } } |
33
+ | **Name** | {{ auth ()-> user ()-> name ?? " " } } |
34
+ | **Email** | {{ auth ()-> user ()-> email ?? " " } } |
35
+ @endcomponent
36
+ @else
37
+ @component (' mail::table' )
38
+ | Auth User : | |
39
+ | --- | --- |
40
+ | No Auth User | |
41
+ @endcomponent
42
+ @endif
43
+
17
44
## Trace :
45
+ @component (' mail::panel' )
18
46
{{ $exception || $stackTrace ? $stackTrace : " " } }
47
+ @endcomponent
19
48
</x-mail::message >
49
+
50
+ <style >
51
+ thead > tr > th {
52
+ text-align : left ;
53
+ }
54
+ </style >
You can’t perform that action at this time.
0 commit comments