comparison app/models/mailer.rb @ 1566:ac2e4a54a6a6 live

Reply-To
author Chris Cannam
date Tue, 19 Jul 2016 13:49:56 +0100
parents a1bdbf8a87d5
children
comparison
equal deleted inserted replaced
1564:53c879bb2f7f 1566:ac2e4a54a6a6
398 'X-Redmine-Host' => Setting.host_name, 398 'X-Redmine-Host' => Setting.host_name,
399 'X-Redmine-Site' => Setting.app_title, 399 'X-Redmine-Site' => Setting.app_title,
400 'X-Auto-Response-Suppress' => 'OOF', 400 'X-Auto-Response-Suppress' => 'OOF',
401 'Auto-Submitted' => 'auto-generated', 401 'Auto-Submitted' => 'auto-generated',
402 'From' => Setting.mail_from, 402 'From' => Setting.mail_from,
403 'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>" 403 'Reply-To' => Setting.mail_reply_to,
404 'List-Id' => "<#{Setting.mail_reply_to.to_s.gsub('@', '.')}>"
404 405
405 # Removes the author from the recipients and cc 406 # Removes the author from the recipients and cc
406 # if the author does not want to receive notifications 407 # if the author does not want to receive notifications
407 # about what the author do 408 # about what the author do
408 if @author && @author.logged? && @author.pref.no_self_notified 409 if @author && @author.logged? && @author.pref.no_self_notified