-
-
Save nodanaonlyzuul/123e5aaa5ea10d326bd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.after_initialize do | |
require 'aws/ses' | |
ActionMailer::Base.delivery_method = :amazon_ses | |
ActionMailer::Base.custom_amazon_ses_mailer = AWS::SES::Base.new({ | |
:access_key_id => 'xxx', | |
:secret_access_key => 'xxx' | |
}) | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment