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: "[email protected]"
      password: "。。。。" 

         2、不能访问外网

 

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

你可能感兴趣的:(service)