module Aws::Rails
def self.add_action_mailer_delivery_method(name = :ses, client_options = {})
-
client_options
(Hash
) -- The options you wish to pass on to the -
name
(Symbol
) -- The name of the ActionMailer delivery method to
def self.add_action_mailer_delivery_method(name = :ses, client_options = {}) ActiveSupport.on_load(:action_mailer) do if name == :sesv2 add_delivery_method(name, Aws::Rails::Sesv2Mailer, client_options) else add_delivery_method(name, Aws::Rails::SesMailer, client_options) end end end