`
chineping
  • 浏览: 11690 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

problem-redmine mail error:Sending email - getaddrinfo: Name or service not

 
阅读更多

log:

Sending email - getaddrinfo: Name or service not known

======================logs  end=============================

sovle:

reference ---> Sending email - getaddrinfo: Name or service not known

原因: 1、配置smtp邮件写错的smtp服务器名称,将smtp写成stmp

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      tls: false
      address: stmp.qiye.163.com
      port: 994
      domain: stmp.qiye.163.com
      authentication: :plain
      user_name: "xxx@WWW.com"
      password: "。。。。" 

         2、不能访问外网

 

====================== end  ok  =============================

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics