Rails 4 smtp configuration

Rails 4 smtp configuration

Hi! I made a rails app, and then I have configured it to send email since my webpage to support, but when I try to send email I received the following error: 

Completed 500 Internal Server Error in 4397ms (ActiveRecord: 0.0ms)

EOFError (end of file reached):

My configuration is : 

ActionMailer::Base.delivery_method = :smtp

ActionMailer::Base.smtp_settings = {

    :address        => 'smtp.zoho.com',

    :tls            => true,

    :ssl            => true,

    :port           => 465,

    :domain         => 'rumis.co',

    :authentication => :plain,

    :user_name      => ENV['USERNAME'], -->  contacto@rumis.co

    :password       => ENV['PASSWORD']

  }

  ActionMailer::Base.default_url_options = { host:  'localhost:3000' }