debian-mirror-gitlab/lib/additional_email_headers_interceptor.rb

9 lines
200 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
class AdditionalEmailHeadersInterceptor
def self.delivering_email(message)
message.headers(
'Auto-Submitted' => 'auto-generated',
'X-Auto-Response-Suppress' => 'All'
)
end
end