From f75d5e25b9f97c97061cc350268dd5c5de91a54d Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Thu, 30 Oct 2014 13:36:59 +0100 Subject: [PATCH] mails --- config/environments/production.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index ed1bed5..8ca7dc5 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -85,6 +85,11 @@ CMSnb::Application.configure do config.action_mailer.default_url_options = { :host => "http://new.st-etienne-de-crossey.fr" } - config.action_mailer.delivery_method = :sendmail + config.action_mailer.delivery_method = :smtp + config.action_mailer.smtp_settings = { + :address => "localhost", + :port => 25 + } + end