Adds a List-Id header to all emails (#2879).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2565 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 16 years ago
parent 04abeda1d7
commit 554e569de1
  1. 3
      app/models/mailer.rb

@ -222,7 +222,8 @@ class Mailer < ActionMailer::Base
# Common headers
headers 'X-Mailer' => 'Redmine',
'X-Redmine-Host' => Setting.host_name,
'X-Redmine-Site' => Setting.app_title
'X-Redmine-Site' => Setting.app_title,
'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
end
# Appends a Redmine header field (name is prepended with 'X-Redmine-')

Loading…
Cancel
Save