无法使用Discourse发送邮件

时间:2016-10-09 09:58:21

标签: ruby-on-rails discourse

我有来自this article的话语码头安装。话语工作正常,但我无法发送邮件。

我已经尝试this article进行故障排除而没有运气。

我的设置是。

## TODO: The mailserver this Discourse instance will use
  DISCOURSE_SMTP_ADDRESS: smtp.zoho.com    # (mandatory)
  DISCOURSE_SMTP_PORT: 587                        # (optional)
  DISCOURSE_SMTP_USER_NAME: xxxxx@xxxxxx.in     # (optional)
  DISCOURSE_SMTP_PASSWORD: xxxxxxxxx            # (optional)
 ##

当我检查生产日志时,它会显示Unprocessable entry。

Started POST "/admin/email/test" for 106.51.227.84 at 2016-10-09 10:36:28 +0000
Processing by Admin::EmailController#test as */*
  Parameters: {"email_address"=>"geekceeaim@gmail.com"}

Sent mail to geekceeaim@gmail.com (1430.7ms)
Completed 422 Unprocessable Entity in 1871ms (Views: 0.7ms | ActiveRecord: 1.1ms)

请帮帮我。

提前致谢。

0 个答案:

没有答案