get the API keys here:

https://eu-central-1.console.aws.amazon.com/ses/home?region=eu-central-1#smtp-settings:

Getting the API Keys:

awsses0

awsses1

awsses2

awsses3

HOWTO

production.rb:

config.action_mailer.default_url_options = {host: "corsego.herokuapp.com", protocol: "https"}
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  port: 587,
  address: 'email-smtp.eu-central-1.amazonaws.com',
  user_name: 'SMTP_CREDENTIALS_USER_NAME',
  password: 'SMTP_CREDENTIALS_PASSWORD',
  authentication: :plain,
  enable_starttls_auto: true
}

app/mailers/application_mailer.rb:

default from: "Corsego <hello@corsego.com>"

useful links: