redmine Email delivery error: Net::ReadTimeout

来源:互联网 发布:专业名片设计软件 编辑:程序博客网 时间:2024/06/03 20:56

好吧,创建一个redmine,在配置邮件的时候sendmail 可以通过,smtp 25端口可以通过,但使用SSL465 端口说什么也过不去

报错Email delivery error: Net::ReadTimeout


找样例找不到,有关于tls的,用不到。

最后配置如下,竟然是如此简单,注意红字部分

    delivery_method: :smtp
    smtp_settings:


      address: smtp.exmail.qq.com
      ssl: true
      port: 465
      #enable_starttls_auto: false
      domain: exmail.qq.com
      authentication: :login
      user_name: xxxx@xxx
      password: xxx

0 0
原创粉丝点击