diff options
author | Robin Jarry <robin@jarry.cc> | 2022-01-19 20:56:38 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-19 20:56:38 +0100 |
commit | f0f7cf347c06953bcc9a68651ed70d52b0f41e93 (patch) | |
tree | 609047e7a62177ac9e02e5f8f4a46a9ed973cb19 | |
parent | 904ffacb0e521218ba1f41e2e5c26d9ac41c9969 (diff) | |
download | aerc-f0f7cf347c06953bcc9a68651ed70d52b0f41e93.tar.gz |
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>
-rw-r--r-- | templates/forward_as_body | 1 | ||||
-rw-r--r-- | templates/quoted_reply | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/forward_as_body b/templates/forward_as_body index 42f5835f..564f6ed5 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 9fb71217..9e622cd9 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}} |