【发布时间】:2011-08-14 05:50:56
【问题描述】:
所以,在我的 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)):
=\
我该怎么办?
【问题讨论】:
-
Sendgrid 解决了我的问题(见选择的答案)
标签: ruby-on-rails ruby-on-rails-3 email heroku