diff --git a/config/environments/production.rb b/config/environments/production.rb index 69fea20..1793b39 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -93,7 +93,12 @@ Survey::Application.configure do config.action_mailer.default_url_options = { :host => "lepicvert.org" } - config.action_mailer.delivery_method = :sendmail + config.action_mailer.delivery_method = :smtp + config.action_mailer.smtp_settings = { + :address => "localhost", + :port => 25 + } + # Log the query plan for queries taking more than this (works # with SQLite, MySQL, and PostgreSQL)