You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/04/11 23:09:09 UTC

[whimsy] branch master updated: Add envelope date - i.e. arrival on mailing list

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 930336f3 Add envelope date - i.e. arrival on mailing list
930336f3 is described below

commit 930336f311aa122639ddf26be9f530b0b3fe766a
Author: Sebb <se...@apache.org>
AuthorDate: Tue Apr 12 00:09:03 2022 +0100

    Add envelope date - i.e. arrival on mailing list
---
 tools/parsemail.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/parsemail.rb b/tools/parsemail.rb
index 4e88dfbf..73ee8643 100755
--- a/tools/parsemail.rb
+++ b/tools/parsemail.rb
@@ -60,6 +60,7 @@ Dir.glob("#{maildir}/[0-9a-f][0-9a-f]*").each do |p|
             Emails:     [(mail[:to].addresses.map(&:to_str) rescue []),(mail[:cc].addresses.map(&:to_str) rescue [])].flatten,
             MessageId: mail.message_id, # could be nil
             EnvelopeFrom: mail.envelope_from,
+            EnvelopeDate: mail.envelope_date, # effectively the delivery date to the mailing list
         }
         data[name] = entry
     end