From: Tom Hughes Date: Sun, 10 Jun 2007 08:13:03 +0000 (+0000) Subject: Change server_settings to smtp_settings to avoid deprecation warning. X-Git-Tag: live~8440 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/24ee5618ce06105fc8dd7baf641af08d96365c41?ds=inline Change server_settings to smtp_settings to avoid deprecation warning. --- diff --git a/config/environment.rb b/config/environment.rb index a1382e9e9..ffd64eec9 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -56,7 +56,7 @@ end # Include your application configuration below SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org' -ActionMailer::Base.server_settings = { +ActionMailer::Base.smtp_settings = { :address => "localhost", :port => 25, :domain => 'localhost',