-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
100 lines (66 loc) · 4.86 KB
/
config.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
####################################################################################################
# Automated Email Server
# Using YAML's "yes" and "no" keywords for booleans would be preferred because
# it sounds more natural, however, the JS-YAML module for Node.js does not
# support these keywords unless they are cast as boolean, which looks clumsy.
# Therefore we are using JS-YAML's keywords of "true" (yes) and "false" (no).
####################################################################################################
# The host address for this server.
# email_server_host: string
email_server_host: "127.0.0.1"
#···································································································
# The port for this server.
# email_server_port: integer
email_server_port: 10000
#···································································································
# Whether to log all sent emails to the database.
# If this is set to false then all other loggin and database settings will be ignored.
# logging_enabled: boolean
logging_enabled: true
#···································································································
# Whether to log the template data sent with each request.
# log_template_data: boolean
log_template_data: true
#···································································································
# Whether to log the actual body of the sent emails.
# If using templates then this will log the completed body after template substitutions.
# log_email_body: boolean
log_email_body: false
#···································································································
# The host address for the database.
# database_host: string
database_host: "127.0.0.1"
#···································································································
# The port for the database.
# database_port: integer
database_port: 3306
#···································································································
# The username for the database.
# database_username: string
database_username: "automated_email_server"
#···································································································
# The password for the database.
# database_password: string
database_password: "74RfcJhonFgPBF2udJbTvw3ue"
#···································································································
# The database schema to select.
# database_schema: string
database_schema: "db_automated_email"
#···································································································
# The API KEY to connect to SendGrid's API service.
# sendgrid_api_key: string
sendgrid_api_key: "SG.bv798nc2n8qa7bloa78veba874lvab78wl5v8bl874"
#···································································································
# The address that emails will appear to be sent from.
# from_address: string
from_address: "[email protected]"
#···································································································
# If true and the email contains a non-empty HTML title tag
# then the title text will become the email subject line.
# html_title_overrides_subject: boolean
html_title_overrides_subject: true
#···································································································
# Whether to provide statistics on the number of requests received.
# stats_enabled: boolean
stats_enabled: true
####################################################################################################