Class: ActionMailer::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/actionmailer/ses_extension.rb

Instance Method Summary collapse

Instance Method Details

#perform_delivery_amazon_ses(mail) ⇒ Object



13
14
15
16
# File 'lib/aws/actionmailer/ses_extension.rb', line 13

def perform_delivery_amazon_ses(mail)
  raise 'AWS::SES::Base has not been intitialized.' unless @@custom_amazon_ses_mailer
  @@custom_amazon_ses_mailer.deliver!(mail)
end