Skip to content

Instantly share code, notes, and snippets.

@aleksb86
Created April 5, 2019 11:29
Show Gist options
  • Save aleksb86/1a5bf5eb0a5c568190b0846bcab3ea2e to your computer and use it in GitHub Desktop.
Save aleksb86/1a5bf5eb0a5c568190b0846bcab3ea2e to your computer and use it in GitHub Desktop.
Gmail settings for RoR
# In application config file:
config.action_mailer.smtp_settings = {
address: 'smtp.gmail.com',
port: 587,
domain: 'gmail.com',
user_name: '[email protected]',
password: 'yourpassword',
authentication: :plain,
enable_starttls_auto: true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment