redmine 邮箱配置

一般在configuration.yml里面的:

default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :async_sendmail----如果linux下面smtp客户端没有安装,就直接使用sendmail来发送,不然smtp老是报验证不成功的错误。
      smtp_settings:
      address: email.xxxx.com
      port: 25
      domain: wuxi  ----或者是xxxx.com之类的域名,有些邮箱网址是email.xxx.com,然后用户名那里显示【域名\用户名】

那么域名就是domain这里需要添写的,如果没有,就添xxx.com等之类的。
      authentication: :login
      user_name: "xxxx"
      password: "xxxx"

猜你喜欢

转载自yhyysxqygs.iteye.com/blog/1625517