git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9688
e93f8b46-1217-0410-a6f0-
8f06a7374b81
'X-Redmine-Host' => Setting.host_name,
'X-Redmine-Site' => Setting.app_title,
'X-Auto-Response-Suppress' => 'OOF',
- 'Auto-Submitted' => 'auto-generated'
+ 'Auto-Submitted' => 'auto-generated',
+ 'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
end
# Appends a Redmine header field (name is prepended with 'X-Redmine-')
assert_not_nil mail
assert_equal 'OOF', mail.header_string('X-Auto-Response-Suppress')
assert_equal 'auto-generated', mail.header_string('Auto-Submitted')
+ assert_equal '<redmine.example.net>', mail.header_string('List-Id')
end
def test_email_headers_should_include_sender