-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
43 lines (43 loc) · 2.02 KB
/
config.json
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
{
"port": 8081,
"publicUrl": "https://newsletter.myproduct.com",
"logConfig": "./logback-config.xml",
"dbUrl": "jdbc:sqlite:file:./generated/myproduct-bote.sqlite",
"languages": [
{
"language": "en",
"confirmSuccessUrl": "https://myproduct.com?msg=confirm-success",
"confirmFailureUrl": "https://myproduct.com?msg=confirm-failure",
"unsubscribeSuccessUrl": "https://myproduct.com?msg=unsubscribe-success",
"unsubscribeFailureUrl": "https://myproduct.com?msg=unsubscribe-failure",
"subscribeSuccessUrl": "https://myproduct.com?msg=subscribe-success",
"subscribeAlreadySubscribedUrl": "https://myproduct.com?msg=subscribe-already-subscribed",
"subscribeFailureUrl": "https://myproduct.com?msg=subscribe-failure",
"mailConfirmationSubject": "[myproduct] Please confirm your newsletter subscription",
"mailConfirmationFrom": "[email protected]",
"mailConfirmationTemplate": "./template-confirmation.en.html",
"unsubscribeTemplate": "./template-unsubscribe.en.html"
},
{
"language": "de",
"confirmSuccessUrl": "https://myproduct.de?msg=confirm-success",
"confirmFailureUrl": "https://myproduct.de?msg=confirm-failure",
"unsubscribeSuccessUrl": "https://myproduct.de?msg=unsubscribe-success",
"unsubscribeFailureUrl": "https://myproduct.de?msg=unsubscribe-failure",
"subscribeSuccessUrl": "https://myproduct.de?msg=subscribe-success",
"subscribeAlreadySubscribedUrl": "https://myproduct.de?msg=subscribe-already-subscribed",
"subscribeFailureUrl": "https://myproduct.de?msg=subscribe-failure",
"mailConfirmationSubject": "[myproduct] Bitte bestätigen Sie Ihre Newsletter-Anmeldung",
"mailConfirmationFrom": "[email protected]",
"mailConfirmationTemplate": "./template-confirmation.de.html",
"unsubscribeTemplate": "./template-unsubscribe.de.html"
}
],
"mailSmtpHost": "smtp.myproduct.com",
"mailSmtpPort": "587",
"mailSmtpAuth": true,
"mailSmtpStarttls": true,
"mailUser": "mailuser",
"mailPassword": "mailuserpassword",
"mailConfirmationMime.subtype": "html"
}