Skip to content

Instantly share code, notes, and snippets.

@vilusa
Last active January 13, 2023 13:37
Show Gist options
  • Save vilusa/d61fa651860a6f969864721c769276d1 to your computer and use it in GitHub Desktop.
Save vilusa/d61fa651860a6f969864721c769276d1 to your computer and use it in GitHub Desktop.
Ruby on Rails AWS SES SMTP Configurations
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: 'email-smtp.eu-west-1.amazonaws.com',
port: 587,
enable_starttls_auto: true,
user_name: ENV['AWS_SES_SMTP_USERNAME'],
password: ENV['AWS_SES_SMTP_PASSWORD'],
authentication: :login
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment