Class: Gitlab::Email::Hook::AdditionalHeadersInterceptor

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/email/hook/additional_headers_interceptor.rb

Class Method Summary collapse

Class Method Details

.delivering_email(message) ⇒ Object


7
8
9
10
# File 'lib/gitlab/email/hook/additional_headers_interceptor.rb', line 7

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