邮箱配置基本上都不差多,分为有证书和无证书二种。qq企业邮箱是有证书的。
# cp configuration.yml.example configuration.yml //安装目录,默认是不开启邮件的
# vim configuration.yml //修改以下内容
email_delivery:
delivery_method: :smtp
smtp_settings:
tls: true
address: "smtp.exmail.qq.com"
enable_starttls_auto: true
port: 465
authentication: :login
domain: 'xxx.com'
user_name: 'zhangying@xxx.com'
password: 'xxxxxx'
改完后重启redmine,登录到redmine后台,管理=》配置=》邮箱通知=》邮件发件人地址,根user_name一样,然后发一下测试邮件。收到就OK了。
转载请注明
作者:海底苍鹰
地址:http://blog.51yip.com/server/1998.html