This is a sample Rails project to send test emails using AWS SES in Sandbox mode.
- Clone this Rails app
- Verify 2 emails in AWS Console
- Create your AWS SES credentials
- Replace the following environment variables in
/config/application.yml
to your own valuesSES_USERNAME
SES_PASSWORD
FROM_EMAIL
TO_EMAIL
- Start up
$ rails server
and head over tolocalhost:3000
- You're good to go!
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.