debian-mirror-gitlab/lib/additional_email_headers_interceptor.rb
2018-03-17 18:26:18 +05:30

6 lines
202 B
Ruby

class AdditionalEmailHeadersInterceptor
def self.delivering_email(message)
message.header['Auto-Submitted'] ||= 'auto-generated'
message.header['X-Auto-Response-Suppress'] ||= 'All'
end
end