redmine配置邮件通知 v2.2.2

来源:互联网 发布:博彦科技java面试题 编辑:程序博客网 时间:2024/06/12 00:56

 

# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
#
# production:
#   email_delivery:
#     delivery_method: :smtp
#     smtp_settings:
#       enable_starttls_auto: true
#       address: "smtp.gmail.com"
#       port: 587
#       domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
#       authentication: :plain
#       user_name: "your_email@gmail.com"
#       password: "your_password"
#
#
# === More configuration options
#
# See the "Configuration options" at the following website for a list of the
# full options allowed:
#
# http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer


# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.exmail.qq.com
      port: 25
      domain: exmail.qq.com
      authentication: :login
      user_name: "redmine@szzht.com"
      password: "123456"

  # Absolute path to the directory where attachments are stored.

 

可以按照以上格式添加多个邮箱,然后用管理员登录redmine,在管理→配置→邮件通知,把邮件发件人地址改成你设置的邮件发件人地址(如:redminie@szzht.com),点击左下角,保存;保存后再点击右下角发送测试邮件,就可以在该管理员的邮箱中找到该邮件。

原创粉丝点击