Need Help to configure SMTP Settings to my App

Need Help to configure SMTP Settings to my App

hi
I am trying to send mails with below SMTP settings, but i am getting error ---  "/usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/net/protocol.rb:135:in `sysread': end of file reached (EOFError)"

:address        => 'smtp.zoho.com',
  :port           => 587,
  :domain         => 'localhost',
  :authentication => 'plain',
:user_name      => " monesh@irissbsp.com",
  :password       => "password",
:enable_starttls_auto => true,



could any one help me...???


Thanks In advance.