I am using Ruby MRI 2.0.0 and Rails 3.2.12 on a Ubuntu 12.04 TLS VPS and attempting to setup email notifications in my app. It was working fine a few days ago, but n
I probably had the same issue, my production application didn't send mails although everything in development was working fine. I also got the "Net::OpenTimeout" error.
My problem was that i was using a Google server in production, and it blocks ports 25, 465 and 587 on outbound connections.
Since I was using Mandrill for sending mails, I was able to switch the connecting port from 587 to 2525 and everything is okay now.