通过参考: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: "[email protected]" 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: "[email protected]" password: "abcd123"
然后重启redmine服务,就可以正常接收邮件了。
时间: 2024-10-28 23:02:12