0

如果我尝试重设密码,我会看到:我们很抱歉,但出了点问题。 然后我查看我的日志:
poruction.log

Sent mail to achempion@gmail.com (238ms)
Completed 500 Internal Server Error in 610ms

OpenSSL::SSL::SSLError (hostname does not match the server certificate):

在我的 production.rb 我设置
config.action_mailer.default_url_options = { :host => '178.79.153.194' }

和 openssl 版本是OpenSSL 1.0.0g 18 Jan 2012

我通过设计 gem 重置密码

4

1 回答 1

0

这是我的错误。我忘了配置 ActionMailer。 链接教程

于 2012-11-17T21:08:16.953 回答