redmine 配置邮件发送为async后,不能发送邮件(转载)

通过参考:http://www.oschina.net/question/2005703_16688

之前configuration.yaml文件中email的相关配置如下:

production:
  email_delivery:
    delivery_method: :async_smtp
    smtp_settings:
      address: smtpcom.263xmail.com
      port: 25
      domain: '263xmail.com'
      authentication: :login
      user_name: "xxx@yyy.com.cn"
      password: "abcd123"

 

发现当点击“忘记密码”后,不能收到重置密码的邮件;

通过参考:http://www.oschina.net/question/2005703_166886

发现,当deliverty_method由smtp修改为async_smtp后,对应的需要把email_delivery修改为async_email_delivery:

production:
  email_delivery:
    async_delivery_method: :async_smtp
    smtp_settings:
      address: smtpcom.263xmail.com
      port: 25
      domain: '263xmail.com'
      authentication: :login
      user_name: "xxx@yyy.com.cn"
      password: "abcd123"

 

然后重启redmine服务,就可以正常接收邮件了。

posted @ 2015-05-13 15:51  泉水叮~咚  阅读(1185)  评论(0编辑  收藏  举报