Commit 73a92f77 authored by jplang's avatar jplang

Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" (#9534).

git-svn-id: https://svn.redmine.org/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9a411fe1
......@@ -378,7 +378,7 @@ class Mailer < ActionMailer::Base
headers 'X-Mailer' => 'Redmine',
'X-Redmine-Host' => Setting.host_name,
'X-Redmine-Site' => Setting.app_title,
'Precedence' => 'bulk',
'X-Auto-Response-Suppress' => 'OOF',
'Auto-Submitted' => 'auto-generated'
end
......
......@@ -134,7 +134,7 @@ class MailerTest < ActiveSupport::TestCase
Mailer.deliver_issue_add(issue)
mail = ActionMailer::Base.deliveries.last
assert_not_nil mail
assert_equal 'bulk', mail.header_string('Precedence')
assert_equal 'OOF', mail.header_string('X-Auto-Response-Suppress')
assert_equal 'auto-generated', mail.header_string('Auto-Submitted')
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment