Created
December 15, 2014 10:03
-
-
Save Nosfheratu/385995329a93510e380b to your computer and use it in GitHub Desktop.
action_mailer settings for gmail
This file contains hidden or 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
| # Don't care if the mailer can't send | |
| config.action_mailer.raise_delivery_errors = false | |
| config.action_mailer.default_url_options = { :host => 'localhost:3000' } | |
| config.action_mailer.delivery_method = :smtp | |
| config.action_mailer.perform_deliveries = true | |
| config.action_mailer.raise_delivery_errors = false | |
| config.action_mailer.default :charset => "utf-8" | |
| config.action_mailer.smtp_settings = { | |
| address: "smtp.gmail.com", | |
| port: 587, | |
| domain: "localhost:3000", | |
| authentication: "plain", | |
| enable_starttls_auto: true, | |
| user_name: "my-gmail-user", | |
| password: "my-gmail-pass" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment