Sha256: e5f4814b8b7f4c758be129956a961f6b645496d199d479fbd9605461d9e8355a

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

module Dkim
  class Interceptor
    def self.delivering_email(message)
      require 'mail/dkim_field'
      message.header.fields << Mail::DkimField.new(SignedMail.new(message.encoded).dkim_header.value)
      message
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dkim-0.1.0 lib/dkim/interceptor.rb