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 =============================