首页 > 技术文章 > redmine2.6.5 邮件配置

lvlv 2015-08-05 22:39 原文

打开configuration.xml (路径:apps/redmine/htdocs/config/)

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.163.com
      port: 25
      domain: 163.com
      authentication: :login
      user_name: liveabc@163.com 
      password: aaa

development:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.163.com
      port: 25
      domain: 163.com
      authentication: :login
      user_name: liveabc@163.com
      password: aaa

这里有两点要注意就是:
1、单个冒号后面有一个空格,双冒号后面没有空格 (最好直接复制上内容)

2、password后面的密码,应该是客户端授权码,而不是邮箱登录密码,

163邮箱授权码在设置里面的smtp设置里面

推荐阅读