production:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.163.com"
port: 25
domain: "smtp.163.com"
authentication: :login
user_name: "[email protected]"
password: "ooo"
这是配置,换成 Qq 的配置
development:
delivery_method: :smtp
smtp_settings:
address: "smtp.qq.com"
port: 25
domain: "smtp.qq.com"
authentication: :login
user_name: "[email protected]"
password: "ooo"
都是提示 提示发送邮件时发生错误 (getaddrinfo: ????????????????? )