Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 554e569de10e7509e18cb2d8ceea3c32c344b796 1 parent 04abeda
jplang jplang authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  app/models/mailer.rb
3  app/models/mailer.rb
@@ -222,7 +222,8 @@ def initialize_defaults(method_name)
222 222 # Common headers
223 223 headers 'X-Mailer' => 'Redmine',
224 224 'X-Redmine-Host' => Setting.host_name,
225   - 'X-Redmine-Site' => Setting.app_title
  225 + 'X-Redmine-Site' => Setting.app_title,
  226 + 'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
226 227 end
227 228
228 229 # Appends a Redmine header field (name is prepended with 'X-Redmine-')

0 comments on commit 554e569

Please sign in to comment.
Something went wrong with that request. Please try again.