aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
authorLuc Donnet2013-12-12 12:10:51 +0100
committerLuc Donnet2013-12-12 12:10:51 +0100
commit82f59ab90af019469e79819a06b63a1710d28171 (patch)
tree04db940437c78b260e2c19e3cf36b2abc6b16964 /config/environments
parentd73b38adb29a82e71049e0aacd45c61665d27466 (diff)
downloadchouette-core-82f59ab90af019469e79819a06b63a1710d28171.tar.bz2
Update production configuration with new smtp server
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 6c4a7b277..e3005ee4a 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -85,7 +85,7 @@ ChouetteIhm::Application.configure do
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "smtp.sample.com",
- #:port => 25,
+ #:port => 25,
:domain => "sample.com",
#:authentication => :login,
:user_name => "username",
@@ -94,11 +94,13 @@ ChouetteIhm::Application.configure do
#openssl_verify_mode => # set one in 'none' 'peer' 'client_once' 'fail_if_no_peer_cert'
}
else
- ## using SENDMAIL (easy on Linux platforms) :
- ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.smtp_settings = {
- :address => "mail.dryade.priv",
- :domain => "dryade.priv"
+ :address => "smtp.sendgrid.net",
+ :port => 25,
+ :domain => "cityway.fr",
+ :user_name => "jdleca@cityway.fr",
+ :password => "waycity",
+ :authentication => "plain"
}
end