redmine配置邮箱

来源:互联网 发布:js将字符串转换成数组 编辑:程序博客网 时间:2024/04/28 23:50

在config中

cp configuration.yml.example   configuration.yml

在configuration.yml

default中 email_delivery项全部注掉

production 中加入

  email_delivery:
   
                            delivery_method: :smtp
   
                            smtp_settings:
   
                                      address: smtp.exmail.qq.com
     
                                     port: 25
     
                                    authentication: :login
     
                                     domain: qq.com
     
                                     user_name:  email@addr.com
   
                                        password: passwd

注意default中注掉,否则会:getaddrinfo: Name or service not known


0 0