summaryrefslogtreecommitdiff
path: root/config_example.yaml
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-07-04 17:20:50 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2021-07-04 17:20:50 +0100
commitd95e8ce75cc193181fd8cf9272269fbfff911f66 (patch)
treef25e86b4768050d39b932bfb9e42970cfc5936e4 /config_example.yaml
parent03f9f907ed21a9c56b229668b28571969d988a8c (diff)
Simplify project structure
Diffstat (limited to 'config_example.yaml')
-rw-r--r--config_example.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/config_example.yaml b/config_example.yaml
new file mode 100644
index 0000000..8da39e3
--- /dev/null
+++ b/config_example.yaml
@@ -0,0 +1,20 @@
+message:
+ from: foo@example.com
+ to: bar@example.com
+ subject: New SMS From {{.From}} For {{.To}}
+ template: |
+ From: {{.From}}
+ To: {{.To}}
+ Date: {{.DateReceived.UTC}}
+
+ {{.Message}}
+
+smtp:
+ hostname: example.com:465
+ username: bar
+ password: some password
+
+twilio:
+ address: /run/fwdsms/socket
+ authToken: some token
+ endpoint: /