debian-mirror-gitlab/lib/additional_email_headers_interceptor.rb

7 lines
202 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
class AdditionalEmailHeadersInterceptor
def self.delivering_email(message)
2018-03-17 18:26:18 +05:30
message.header['Auto-Submitted'] ||= 'auto-generated'
message.header['X-Auto-Response-Suppress'] ||= 'All'
2017-08-17 22:00:37 +05:30
end
end