Using Amazon SES with Rails ActionMailer

前端 未结 10 1404
南旧
南旧 2020-12-04 09:42

What would be the best way to go about making ActionMailer send mail via Amazon SES in Rails 3?

Edit:

This is now a gem:

gem install amazon-         


        
10条回答
  •  星月不相逢
    2020-12-04 10:10

    I use the following gem:

    https://github.com/aws/aws-sdk-rails

    It pulls in the standard aws-sdk, plus allows to set ActionMailer to use AWS SES. Example:

    # config/production.rb
    # ...
    config.action_mailer.delivery_method     = :aws_sdk
    

提交回复
热议问题