Redmine:無法讓 Gmail 電子郵件通知正常運作

Redmine:無法讓 Gmail 電子郵件通知正常運作

我最近在 Amazon EC2 執行個體中安裝了 Redmine,它似乎運作正常,但是,我不知道如何設定電子郵件通知。

Redmine 文件相當過時,我已經嘗試了很多替代方案。考慮到我不是 RoR 程式設計師。

這是我的configuration.yml 檔案:

...
    delivery_method: :smtp
    smtp_settings:
      tls: true
      enable_starttls_auto: true
      address: "smtp.gmail.com"
      port: 587
      domain: "dnd1.com" # 'your.domain.com' for GoogleApps
      authentication: :plain
      user_name: "[email protected]"
      password: "mypassword"
...

我不斷收到此錯誤:

(SSL_connect returned=1 errno=0 state=unknown state: unknown protocol)

答案1

嘗試刪除

tls: true

作為配置的一部分,如果您獨立執行 Redmine 伺服器,請重新啟動它並檢查它是否運作。

相關內容