Configuring SMTP for Rails Application

Configuring SMTP for Rails Application

Hi,

I have no-reply@addtoarray.com account on zoho. I would like to use smtp for the rails application. I cannot able to send mails from the application.

The following is configuration
ActionMailer::Base.smtp_settings = {
  :address              => "smtp.zoho.com",
  :port                 => 587,
  :domain               => "addtoarray.com",
  :user_name            => " no-reply@addtoarray.com",
  :password             => "7kbfc7ensvpr",
  :authentication       => "plain",
  :enable_starttls_auto => true,
  :tls                  => true
}

Please help