Skip to content

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

Posted on 25 January 2008

Chances are you have just upgraded to Rails 2.

In Rails 2 server_settings has been replaced by smtp_settings.

View the snippets archive ››

8 comments made

Joey G commented on 17 Mar 08 at 16:03

Thank you!

Justin Blake commented on 18 Mar 08 at 12:00

Yeah, thanks. Was having this exact error.

musa commented on 19 Mar 08 at 09:33

Thanks

Sunil K commented on 01 Apr 08 at 20:47

Thank you very much! You saved me lots of time!

Antho commented on 06 May 08 at 17:15

Thanks!

eipoc commented on 26 May 08 at 04:54

Tahnks! I reach this site from Japan!

chapi chapo commented on 03 Jul 08 at 04:29

MERCI

gola commented on 11 Jul 08 at 09:59

Thanks man!

Got something to say?

About

Paul is a web developer for Kyanmedia web agency. He's lucky enough to write in Ruby on Rails full-time and uses this site to post snippets of code.

Contact

my name at gmail.com

More snippets

Take a look in the archive

Need a website?

Contact my employer. Make sure to check out our portfolio of work.

Hosting

I recommend hostingrails.com