-
Notifications
You must be signed in to change notification settings - Fork 0
/
mailora.php
executable file
·40 lines (32 loc) · 1.43 KB
/
mailora.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
return [
// REQUIRED
'safety-recipient' => env('MAILORA_SAFETY_RECIPIENT', ''),
// required to make "public" route work
'approved-recipients' => '',
'approved-recipient-domains' => '',
// required to make "authentication-protected" route work
'auth_middleware' => [],
// 1. Advanced, see documentation for details
'views-root-directory' => 'resources/views',
'views-email-directory' => 'emails',
'mailables-namespace' => 'App\Mail\\',
'name-of-production-env' => env('MAILORA_NAME_OF_PROD_ENV', 'production'),
'public-free-for-all' => env('MAILORA_PUBLIC_FREE_FOR_ALL', false),
'admin' => env('MAILORA_DEFAULT_ADMIN', null),
// 2. Some required, some optional...
'defaults' => [
// 2.0 REQUIRED (either hardcoded here, or provided by environmental variables)
'sender-address' => env('MAILORA_DEFAULT_SENDER_ADDRESS', null), // REQUIRED
'sender-name' => env('MAILORA_DEFAULT_SENDER_NAME', null), // REQUIRED
'recipient-address' => env('MAILORA_DEFAULT_RECIPIENT_ADDRESS', null), // REQUIRED
// 2.1 Optional
'recipient-name' => env('MAILORA_DEFAULT_RECIPIENT_NAME', null),
'subject' => null,
'message' => null,
// todo: ability to set multiple recipients.
// 2.3 Advanced, see documentation for details
'type' => env('MAILORA_DEFAULT_TYPE', null),
'users-email-set-reply-to' => true,
],
];