Skip to content

Instantly share code, notes, and snippets.

@fidel
Created February 9, 2013 13:34
Show Gist options
  • Save fidel/4745310 to your computer and use it in GitHub Desktop.
Save fidel/4745310 to your computer and use it in GitHub Desktop.
Email
# config/environment/development.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = YAML.load_file(Rails.root.join('config', 'email.yml')[Rails.env]).to_options
development:
address: "smtp.gmail.com"
port: 587
domain: "gmail.com"
authentication: "plain"
user_name: "janko_muzykant@gmail.com"
password: "secret"
enable_starttls_auto: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment