-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.php.example
63 lines (55 loc) · 1.56 KB
/
config.php.example
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
return [
/*
* Required, Mailer dsn, Eg. 'smtp://user:pass@smtp.example.com:25'
*
* @see https://symfony.com/doc/current/mailer.html#transport-setup
*/
'dsn' => env('DSN'),
/*
* Send email to address (can be set in form post data also)
* string or array 'user@example.com' or ['user@example.com' => 'User']
*/
'to' => [
'email' => env('TO_EMAIL'),
'name' => env('TO_NAME'),
],
/*
* Send email from address (can be set in form post data also)
* string or array 'noreply@example.com' or ['noreply@example.com' => 'No Reply']
*/
'from' => [
'email' => env('FROM_EMAIL'),
'name' => env('FROM_NAME'),
],
/*
* Email subject (can be set in form post data also)
*/
'subject' => env('SUBJECT'),
/**
* Try and make the from address unique to avoid threading
*/
'unique' => env('UNIQUE'),
/*
* Redirect on email success or failure, Eg. 'http://example.com/success'
* Can be set in form post data also using redirect.success and redirect.failure
*/
'redirect' => [
'success' => env('REDIRECT_SUCCESS'),
'failure' => env('REDIRECT_FAILURE'),
],
/*
* Set the required fields within the post data
* eg: 'name, email, message, files'
*
* Failure message and redirect will be returned if
* data does not exist
*/
'required' => env('REQUIRED_FIELDS'),
/*
* Google recaptcha secret
*/
'recaptcha' => [
'secret' => env('RECAPTCHA_SECRET'),
],
];