aboutsummaryrefslogtreecommitdiff
path: root/internal/feed
diff options
context:
space:
mode:
Diffstat (limited to 'internal/feed')
-rw-r--r--internal/feed/mail.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go
index 94f2ea1..ab468cc 100644
--- a/internal/feed/mail.go
+++ b/internal/feed/mail.go
@@ -39,6 +39,7 @@ func writeToBuffer(b *bytes.Buffer, feed *Feed, item feeditem, cfg config.Config
var h mail.Header
h.SetAddressList("From", fromAdress(feed, item, cfg))
h.SetAddressList("To", address(feed.Name, cfg.DefaultEmail))
+ h.Add("X-Feed2Imap-Version", config.Version())
{ // date
date := item.Item.PublishedParsed