zoukankan      html  css  js  c++  java
  • 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 >管理员登陆 > 管理 > 配置 > 邮件通知 >页面底部:发送测试邮件。将会发送邮件到你目前登陆的用户邮箱中。

     

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

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


    By Peter.zhang

    From:Peter's Blog                            

    MSN: peter.zhang@live.cn

    电子邮箱:peter.zhang@foxmail.com

  • 相关阅读:
    [LeetCode]Add Two Numbers
    [LeetCode]Longest SubString Without Repeating Characters
    [LeetCode]Median of Two Sorted Arrays
    [LeetCode]Two Sum
    动态规划
    [shell编程]一个简单的脚本
    一些linux的问题
    核稀疏表示分类(KSRC)
    conda 按照指定源下载python包
    python 保留两位小数
  • 原文地址:https://www.cnblogs.com/fromchaos/p/2185759.html
Copyright © 2011-2022 走看看