Redmine 邮箱配置

Redmine EMAIL /SMTP 服务器设置

参考:http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
1、需SMTP登陆验证的电子邮件配置,在configuration.yml增加
# Outgoing email settings
production:
  delivery_method: :smtp
  smtp_settings:
    address: smtp.example.net
    port: 25
    domain: example.net
    authentication: :login
    user_name: [email protected]
    password: redmine

development:
  delivery_method: :smtp
  smtp_settings:
    address: 127.0.0.1
    port: 25
    domain: example.net
    authentication: :login
    user_name: [email protected]
    password: redmine
2、如果你想使用TLS-requiring SMTP servers,必须设置TLS-related settings
production:
  delivery_method: :smtp
  smtp_settings:
    tls: true
    enable_starttls_auto: true
    address: "smtp.gmail.com"
    port: '587'
    domain: "smtp.gmail.com"
    authentication: :plain
    user_name: "[email protected]"
    password: "your_password"
3、不需要登陆验证的设置
production:
  delivery_method: :smtp
  smtp_settings:
    address: smtp.knology.net
    port: 25
    domain: cybersprocket.com
    authentication: :none
测试是否配置成功:
打开Redmine >管理员登陆 > 管理 > 配置 > 邮件通知 >页面底部:发送测试邮件。将会发送邮件到你目前登陆的用户邮箱中。

您还可以在这个页面中进行邮件内容的配置,包括邮件头,邮件签名等。
您还可以在这个页面中选择需要发送邮件通知的动作。

你可能感兴趣的:(redmine)