Last active
December 15, 2015 19:39
-
-
Save beneggett/5312982 to your computer and use it in GitHub Desktop.
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
# Letter opener config: | |
# https://github.com/ryanb/letter_opener | |
... | |
# Change mail delvery to either :smtp, :sendmail, :file, :test | |
config.action_mailer.delivery_method = :letter_opener | |
.... |
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
## Mandrill settings: | |
... | |
# ActionMailer Config | |
# Setup for production - deliveries, no errors raised | |
config.action_mailer.default_url_options = { :host => 'www.example.com' } | |
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.mandrillapp.com', | |
:port => '587', | |
:user_name => ENV['MANDRILL_USERNAME'], | |
:password => ENV['MANDRILL_API_KEY'] | |
} | |
... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment