-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.default.php
65 lines (64 loc) · 2.08 KB
/
config.default.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
return [
'page' => [
'language' => 'en', // two digits as of ISO 639-1
'title' => 'Ask me something random!',
'description' => 'Feel free to ask me anything. Please just be reasonably polite.',
'debug' => false,
],
'owner' => [
'name' => '',
'e-mail' => 'owner@ask.example.com',
'recipient-choices' => [
'enabled' => false,
'choices' => [
//'domain1' => [
// 'ask', // => ask@domain1
// 'awesome', // => awesome@domain1
//]
]
],
'allow-bad-recipient' => false, // Set to tue if you want to skip PHPMailers E-Mail validation (e.g. name only recipients for local test sendmail setup)
],
'message' => [
'subject' => 'New message for you',
'sender' => 'ask@example.com',
'force-sender' => false, // Always set it to sender even if a senders E-Mail is given
],
'form' => [
'message' => [
'label' => 'Your Message to me',
'placeholder' => 'I\'ve always wanted to tell you...',
],
'submit' => [
'label' => 'Send it!',
],
'sender' => [
'label' => 'This is optional.',
'email' => [
'label' => 'Your E-Mail (optional)',
'palceholder' => 'person@example.com',
],
'name' => [
'label' => 'Your Name (optional)',
'placeholder' => 'Lucky Luke',
]
],
'recipient' => [
'label' => 'Whom to send the message to?'
]
],
'email' => [
'provider' => 'sendmail',
'smtp' => [
'host' => '',
'port' => 465,
'crypt' => 'smtps',
'user' => '',
'pass' => ''
],
],
'modules' => [ // Different modules taht are included at differenc parts of the process. Must be present in modules/<name>/ and provide a main.php
'headers' => [] // Must return an array with all custom headers to be added
]
];