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 d59b0c39 We need envelope_date for applications
d59b0c39 is described below

commit d59b0c393463a9fb88feea5259d0b0c2c2dfa32f
Author: Sebb <s...@apache.org>
AuthorDate: Sat Mar 16 14:55:55 2024 +0000

    We need envelope_date for applications
---
 www/secretary/workbench/models/message.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/secretary/workbench/models/message.rb 
b/www/secretary/workbench/models/message.rb
index 9d2ceb1b..a8b18771 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -410,6 +410,8 @@ class Message
 
     # start an entry for this mail
     headers = {
+      envelope_from: mail.envelope_from,
+      envelope_date: mail.envelope_date.to_s, # effectively the delivery date 
to secretary@
       from: mail.from_addrs.first,
       name: from,
       time: (mail.date.to_time.gmtime.iso8601 rescue nil),

Reply via email to