diff options
Diffstat (limited to 'config/environments/production.rb')
| -rw-r--r-- | config/environments/production.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 5793f9ab1..a5c58b56d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -77,7 +77,7 @@ ChouetteIhm::Application.configure do if ENV['OS'] == 'Windows_NT' ## using SMTP (maybe useful for Windows or VM platforms): ActionMailer::Base.delivery_method = :smtp - ActionMailer::Base.server_settings = { + ActionMailer::Base.smtp_settings = { :address => "smtp.sample.com", #:port => 25, :domain => "sample.com", @@ -90,8 +90,13 @@ ChouetteIhm::Application.configure do else ## using SENDMAIL (easy on Linux platforms) : ActionMailer::Base.delivery_method = :sendmail + ActionMailer::Base.smtp_settings = { + :address => "mail.dryade.priv", + :domain => "dryade.priv" + } end + # paths for external resources if ENV['OS'] == 'Windows_NT' config.to_prepare do |
