c3a940000e
- allows unsubscription processing of email in format "reply+%{key}+unsubscribe@acme.com" (example) - if config.address includes %{key} and replies are enabled every unsubscriable message will include mailto: link in its List-Unsubscribe header
22 lines
386 B
Ruby
22 lines
386 B
Ruby
module Gitlab
|
|
module Email
|
|
module Handler
|
|
class BaseHandler
|
|
attr_reader :mail, :mail_key
|
|
|
|
def initialize(mail, mail_key)
|
|
@mail = mail
|
|
@mail_key = mail_key
|
|
end
|
|
|
|
def can_execute?
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def execute
|
|
raise NotImplementedError
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|