Add the following lines in your
environment.rb and replace the values with your settings. (mail server name, server
name, email address, password)
config.action_mailer.server_settings= {
:address => ‘mail.servername.com’,
:port => 25,
:domain => ’servername’,
:user_name => ‘email-address-to-authenticate’,
:password => ‘password-to-authenticate’,
:authentication => :login
(or)
:authentication => :plain (if you are not providing password to
authenticate)
}
