summaryrefslogtreecommitdiffstats
path: root/mail/example_resources/templates/template_a/template.toml
diff options
context:
space:
mode:
authorPhilipp Korber <philippkorber@gmail.com>2018-11-22 18:04:52 +0100
committerPhilipp Korber <philippkorber@gmail.com>2018-11-22 18:04:52 +0100
commit09153a0562ab33171f97b24259b6e5c651c388fd (patch)
treeba7a46beaa550c507d13a2ae56a1666163a22eba /mail/example_resources/templates/template_a/template.toml
parenta62782a86ff8618903dd49e8d357188ca94dc711 (diff)
chore(examples) updated example templates to use handlebars
Diffstat (limited to 'mail/example_resources/templates/template_a/template.toml')
-rw-r--r--mail/example_resources/templates/template_a/template.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/example_resources/templates/template_a/template.toml b/mail/example_resources/templates/template_a/template.toml
new file mode 100644
index 0000000..4da0f10
--- /dev/null
+++ b/mail/example_resources/templates/template_a/template.toml
@@ -0,0 +1,16 @@
+name = "template_a"
+subject = "Hy dear {{name}}"
+
+[[bodies]]
+path = "mail.txt"
+
+[[bodies]]
+path = "mail.html"
+
+ [bodies.embeddings]
+ logo = "logo.png"
+
+[[attachments]]
+iri = "path:./portfolio.pdf"
+media_type = "application/pdf"
+