Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 643 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 643 Bytes

Rails with AWS SES Example

This is a sample Rails project to send test emails using AWS SES in Sandbox mode.

Usage

  1. Clone this Rails app
  2. Verify 2 emails in AWS Console
  3. Create your AWS SES credentials
  4. Replace the following environment variables in /config/application.yml to your own values
    1. SES_USERNAME
    2. SES_PASSWORD
    3. FROM_EMAIL
    4. TO_EMAIL
  5. Start up $ rails server and head over to localhost:3000
  6. You're good to go!

Rspec Example

There is also an Rspec test to cover the testing side of sending emails in Rails. Simply run $ rspec --format documentation to see a test example.