随笔 - 118  文章 - 0  评论 - 35  阅读 - 43万

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: redmine@example.net
    password: redmine

development:
  delivery_method: :smtp
  smtp_settings:
    address: 127.0.0.1
    port: 25
    domain: example.net
    authentication: :login
    user_name: redmine@example.net
    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: "your_email@gmail.com"
    password: "your_password"

3、不需要登陆验证的设置

production:
  delivery_method: :smtp
  smtp_settings:
    address: smtp.knology.net
    port: 25
    domain: cybersprocket.com
    authentication: :none

测试是否配置成功:

打开Redmine >管理员登陆 > 管理 > 配置 > 邮件通知 >页面底部:发送测试邮件。将会发送邮件到你目前登陆的用户邮箱中。

 

您还可以在这个页面中进行邮件内容的配置,包括邮件头,邮件签名等。

您还可以在这个页面中选择需要发送邮件通知的动作。

posted on   Peter Zhang  阅读(11117)  评论(0编辑  收藏  举报
< 2011年9月 >
28 29 30 31 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示