changeset 1566:ac2e4a54a6a6 live

Reply-To
author Chris Cannam
date Tue, 19 Jul 2016 13:49:56 +0100
parents 53c879bb2f7f
children 3ad53f43483d
files app/models/mailer.rb config/settings.yml
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/models/mailer.rb	Tue Jan 26 10:37:37 2016 +0000
+++ b/app/models/mailer.rb	Tue Jul 19 13:49:56 2016 +0100
@@ -400,7 +400,8 @@
             'X-Auto-Response-Suppress' => 'OOF',
             'Auto-Submitted' => 'auto-generated',
             'From' => Setting.mail_from,
-            'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
+            'Reply-To' => Setting.mail_reply_to,
+            'List-Id' => "<#{Setting.mail_reply_to.to_s.gsub('@', '.')}>"
 
     # Removes the author from the recipients and cc
     # if the author does not want to receive notifications
--- a/config/settings.yml	Tue Jan 26 10:37:37 2016 +0000
+++ b/config/settings.yml	Tue Jul 19 13:49:56 2016 +0100
@@ -61,6 +61,8 @@
   default: '25,50,100'
 mail_from:
   default: redmine@example.net
+mail_reply_to:
+  default: info@soundsoftware.ac.uk
 bcc_recipients:
   default: 1
 plain_text_mail: