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 85c10bdd Also handle reply_to
85c10bdd is described below

commit 85c10bddbdb0fa79dffd31c3f45cdbd067658329
Author: Sebb <s...@apache.org>
AuthorDate: Wed Jul 16 00:45:56 2025 +0100

    Also handle reply_to
---
 www/secretary/workbench/models/message.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/secretary/workbench/models/message.rb 
b/www/secretary/workbench/models/message.rb
index 08a8bffc..2d4676ca 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -398,6 +398,9 @@ class Message
     mail[:cc] = cc.map(&:format) unless cc.empty?
     mail[:bcc] = bcc.map(&:format) unless bcc.empty?
 
+    # Also handle reply_to
+    mail.reply_to = fields[:reply_to] if fields[:reply_to]
+
     # return the resulting email
     mail
   end

Reply via email to