Add mail headers to avoid auto-replies (#23597)

This commit is contained in:
Claire authored and Tarrien committed 2026-11-05 06:48:43 -05:00
1 parent 08a50aee8b
commit 7bca462aaa
1 file changed
+6
+6
View File
@@ -22,4 +22,10 @@ class ApplicationMailer < ActionMailer::Base
'X-Auto-Response-Suppress' => 'All'
)
end
def set_autoreply_headers!
headers['Precedence'] = 'list'
headers['X-Auto-Response-Suppress'] = 'All'
headers['Auto-Submitted'] = 'auto-generated'
end
end