From f0f7cf347c06953bcc9a68651ed70d52b0f41e93 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Wed, 19 Jan 2022 20:56:38 +0100 Subject: [PATCH] templates: add x-mailer header in default files This should serve as an example for new users. Signed-off-by: Robin Jarry --- templates/forward_as_body | 1 + templates/quoted_reply | 1 + 2 files changed, 2 insertions(+) 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}}