Mail sending in production mode

Hi
As of now I had been running my server in development mode. And for
mail sending in confif/environments/development.rb I have configured the
mailsending method,port etc and they are working properly .Now I would
like to run server on production mode. My current settings in the
development.rb is as follows

Don’t care if the mailer can’t send

config.action_mailer.raise_delivery_errors = true
#set delivery method to :smtp, :sendmail or :test
config.action_mailer.delivery_method = :smtp
#Following options are needed if the dlivery method is :smtp
config.action_mailer.smtp_settings = {
:address => “mail.domain.com”,
:port => 25,
:domain => ‘domainname’,
}
So my question is when I run server on production environment can
i copy the above to config/environments/production.rb Is that only
needed to make the mail sending work on production mode Any other
configuration do i need?Please help

Thanks in advance
Sijo

On Sep 1, 7:01 am, Sijo Kg [email protected] wrote:

config.action_mailer.delivery_method = :smtp

It depends. If those details are correct and your mail server doesn’t
require authentication then that will be enough.

Fred