Sha256: d2f69354f0820fda959f39cf9ba8ad0b4baf7484d9bd248b7eb7cd3ec1ce9e74

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

module EmailEvents::Adapters
  module Ses
    class SmtpResponse < Abstract::SmtpResponse
      def provider_message_id
        # Status OK
        return nil unless @raw_smtp_response.status == '250'

        @raw_smtp_response.string.match(/Ok (.+)/)[1]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_events-1.0 lib/email_events/adapters/ses/smtp_response.rb