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>
This commit is contained in:
Robin Jarry 2022-01-19 20:56:38 +01:00
parent 904ffacb0e
commit f0f7cf347c
2 changed files with 2 additions and 0 deletions

View File

@ -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}}

View File

@ -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}}