测试邮件通知提示"hostname was not match with the server certificate"
解决方法:
修改redmine/config/configuration.yml
82行到96行
# default configuration options for all environments
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.kingmed.com.cn
port: 25
domain: kingmed.com.cn
authentication: :login
user_name: app
password: "******"
enable_starttls_auto: true
openssl_verify_mode: 'none'增加一行 openssl_verify_mode: 'none'重启服务即可
本文介绍了解决Redmine中配置SMTP时遇到的主机名与服务器证书不匹配问题的具体步骤。通过修改configuration.yml文件中的openssl_verify_mode设置为'none'来禁用SSL验证,从而解决邮件发送失败的问题。
4万+

被折叠的 条评论
为什么被折叠?



