【问题标题】:RoR: Devise: Email confirmation on heroku gives Connection refused errorRoR:设计:heroku 上的电子邮件确认给出连接被拒绝错误
【发布时间】: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


【解决方案1】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-23
    • 2014-04-09
    • 2020-04-29
    • 2012-01-03
    • 2016-01-08
    • 1970-01-01
    相关资源
    最近更新 更多