From 110eab0496059bfccf7a11293320058b5a3e2280 Mon Sep 17 00:00:00 2001 From: iCross Date: Tue, 4 Jun 2013 16:03:06 +0800 Subject: [PATCH] ask module: add global smtp setting --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 72cb30a4..7b013018 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -64,9 +64,9 @@ Orbit::Application.configure do config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :enable_starttls_auto => true, - :address => "smtp.gmail.com", + :address => "http://smtp.gmail.com", :port => '587', - :domain => "smtp.gmail.com", + :domain => "http://smtp.gmail.com", :authentication => "plain", :user_name => "redmine@rulingcom.com", :password => "rulingredmine"