summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-01-19 20:56:38 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-19 20:56:38 +0100
commitf0f7cf347c06953bcc9a68651ed70d52b0f41e93 (patch)
tree609047e7a62177ac9e02e5f8f4a46a9ed973cb19 /templates
parent904ffacb0e521218ba1f41e2e5c26d9ac41c9969 (diff)
downloadaerc-f0f7cf347c06953bcc9a68651ed70d52b0f41e93.zip
templates: add x-mailer header in default files
This should serve as an example for new users. Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'templates')
-rw-r--r--templates/forward_as_body1
-rw-r--r--templates/quoted_reply1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/forward_as_body b/templates/forward_as_body
index 42f5835..564f6ed 100644
--- a/templates/forward_as_body
+++ b/templates/forward_as_body
@@ -1,3 +1,4 @@
+X-Mailer: aerc {{version}}
Forwarded message from {{(index .OriginalFrom 0).Name}} on {{dateFormat .OriginalDate "Mon Jan 2, 2006 at 3:04 PM"}}:
{{.OriginalText}}
diff --git a/templates/quoted_reply b/templates/quoted_reply
index 9fb7121..9e622cd 100644
--- a/templates/quoted_reply
+++ b/templates/quoted_reply
@@ -1,3 +1,4 @@
+X-Mailer: aerc {{version}}
On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote:
{{quote .OriginalText}}