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.

About Paul

Paul works for Kyan web design agency in Surrey, UK as a Ruby on Rails developer.

Follow Paul on Twitter

Email: paulsturgess [at] gmail.com

Read more articles in the archive →

Comments...

  • Thank you!

    Joey G at 17 Mar 08 at 16:03

  • Yeah, thanks. Was having this exact error.

    Justin Blake at 18 Mar 08 at 12:00

  • Thanks

    musa at 19 Mar 08 at 09:33

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

    Sunil K at 01 Apr 08 at 20:47

  • Thanks!

    Antho at 06 May 08 at 17:15

  • Tahnks! I reach this site from Japan!

    eipoc at 26 May 08 at 04:54

  • MERCI

    chapi chapo at 03 Jul 08 at 04:29

  • Thanks man!

    gola at 11 Jul 08 at 09:59

  • thanks man!!!

    shankky at 04 Sep 08 at 01:13

  • +1

    itkin at 12 Oct 08 at 15:24

  • Thank you very much!

    lex at 15 Oct 08 at 07:03

  • Thanks a lot.... its very usefull information...

    Harshini at 04 Nov 08 at 07:58

  • You r gr8 Man.!!!!!!Thanks for putting me out of this digger..keep up good work

    saurabh at 11 Dec 08 at 03:22

  • Thank you very much

    soy at 12 Dec 08 at 20:21

  • Thx a lot, for saving my time.... :-)

    john at 30 Dec 08 at 01:17

  • you rock!

    roger at 09 Jan 09 at 13:45

  • Thank you!

    Kleber S at 30 Jan 09 at 11:10

  • Thank you! I was just starting to get frustrated with an update to an existing project that I needed to update and upload to the production server tonight. I was beginning to think I had a long night ahead of me...you're post made it only a 15 minute stint of "get annoyed..google it...find an awesome developer who's taken the time to post an item they know will be helpful to others...make the fix...thank the developer who made the post!" ;)

    david.colwell at 11 Feb 09 at 23:14

  • Thanks!!

    Em at 31 Mar 09 at 18:10

  • Cheers dude- - Just saved me another day of noob programming hell!

    Daron at 30 Apr 09 at 06:01

  • +1 Thanks for the fix

    Anon at 25 Jul 09 at 23:07

  • Yes Thanks a lot this solved my problem

    Gajendra choudhary at 21 Sep 09 at 23:27

  • thanks!

    mozilla at 18 Feb 10 at 08:56

  • Thank you!!!

    Érik Escobedo at 23 Feb 10 at 15:48

  • Thank you!!!

    ashish at 17 Mar 10 at 05:13

  • Hi,

    Thanks a lot for your post. It resolved my problem. i was about to hate ruby due to this problem.. you are great.

    Saravanan at 18 Mar 10 at 00:49

  • Great Thanks . You saved my life .....!!!!!111111

    Ranjith Siji at 28 Mar 10 at 00:33

  • Thnks so much...its quite time saving...

    Lalit at 13 May 10 at 07:30

  • thanks!

    Jesus at 24 Jul 10 at 09:51

  • Thanks for the pots, it helped me a lot!

    johannes at 04 Aug 10 at 00:50

  • :)

    Grzegorz Dufajn at 16 Sep 10 at 14:13

  • One more thank..

    Carlos at 13 Nov 10 at 11:18

  • Wooow i got the result..........!!!!!!!!!!!!

    ariv at 18 Nov 10 at 22:10

  • Thanks a lot !!!!!!!!!!

    Monica at 19 Jan 11 at 10:41

  • Thanks a lot

    Saurabh at 11 May 11 at 00:30

  • Thanks for the info.. it worked for me

    Manimaran M at 29 Jul 11 at 05:50

Got something to say?