Try this... ActionMailer::Base.server_settings = { :address => "localhost", :domain => 'www.yourdomain.com', :port => 25 }
On 5/29/07, Vince Wadhwani <[EMAIL PROTECTED]> wrote: > > > I don't think you need to restart the server anymore in rails > 1.2 > but I find that it never hurts. One less thing you need to eliminate, > so if you can restart you may as well. > > On 5/29/07, Brent Miller <[EMAIL PROTECTED]> wrote: > > > > I just realized something that might be the cause of this problem. > > Correct me if I am wrong, but don't you have to restart the web server > > when changes are made to the environment.rb file? > > > > It hit me because, I changed the log_level to :debug and never saw the > > effect of that change. I think I have been trying all kinds of > > combinations of SMTP settings and none actually took effect. In a > > shared hosting situation (specifically GoDaddy) how could I force my > > changes to the environment.rb file to take effect? Is there a way for > > me to restart my own instance of the web server? Any thoughts on this > > would be appreciated. > > > > > > > > > > -- > > Posted via http://www.ruby-forum.com/. > > > > > > > > > > -- > support independent business -- http://www.buyindie.net/ > > > > -- "Eppure si muove" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---