Redmine:无法让Gmail电子邮件通知工作

我最近在Amazon EC2实例中安装了Redmine,它似乎工作正常,但是,我不知道如何设置电子邮件通知。

Redmine文档非常过时,我已经尝试了很多select。 考虑到我不是一个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) 

尝试删除

 tls: true 

你的configuration的一部分,如果你是独立运行,检查它是否工作,重新启动你的Redmine服务器。