14th Nov, 2009

Rails - method_missing: undefined method server_settings= for ActionMailer::Base:Class (NoMethodError)

Hope, you have just upgraded to Rails 2.

In Rails 2 server_settings has been replaced by smtp_settings.

Change your environment.rb to:

config.action_mailer.smtp_settings = {
….
}

Leave a response

Your response:

Categories and Tags

Advertising