Skip to content

Instantly share code, notes, and snippets.

@nodanaonlyzuul
Created February 23, 2011 21:40
Show Gist options
  • Save nodanaonlyzuul/123e5aaa5ea10d326bd0 to your computer and use it in GitHub Desktop.
Save nodanaonlyzuul/123e5aaa5ea10d326bd0 to your computer and use it in GitHub Desktop.
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