SMTP Configuration in Rails 2.3.4

Hello Everyone,

I have a problem with SMTP configuration for my application. Previously I was using Rails version 1.1.6, and the SMTP settings would be configured in environment.rb as follows:

ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = {   :address => "localhost",   :port => 25,   :domain => "HELO" }

Now, my new application is using Rails version 2.3.4 and I am not able to find the SMTP settings anywhere.

In previous 1.1.6 Rails version, I used to comment the above lines or change the address to our local SMTP server. So that all mails (exceptions, notifications) would be sent to local SMTP server.

Can anyone tell me how to do these things in Rails version 2.3.4 ? Basically what I am looking for is a switch of some kind, to stop sending mails from my server.

Thanks in advance.

Can anyone help me on this?