Created
February 9, 2013 13:34
-
-
Save fidel/4745310 to your computer and use it in GitHub Desktop.
Email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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