RoR:Devise:heroku上的电子邮件确认给出了Connection拒绝错误

时间:2011-08-14 05:50:57

标签: ruby-on-rails ruby-on-rails-3 email heroku

所以,在我的production.rb文件中,我将我的应用程序的名称作为主机:

  config.action_mailer.default_url_options = { :host => 'comsat.heroku.com' }

但是,在我尝试注册之后,它说:

2011-08-14T05:47:00+00:00 app[web.1]: Sent mail to aoeuaoeu[fake]@gmail.com (3047ms)
2011-08-14T05:47:00+00:00 app[web.1]: Completed 500 Internal Server Error in 3412ms
2011-08-14T05:47:00+00:00 app[web.1]: 
2011-08-14T05:47:00+00:00 app[web.1]: Errno::ECONNREFUSED (Connection refused - connect(2)):

= \

我该怎么办?

1 个答案:

答案 0 :(得分:4)