【发布时间】:2011-06-05 11:05:20
【问题描述】:
我在我的 Redmine 安装中配置了我的 email.yml,但是当我尝试发送测试电子邮件时,我收到以下错误消息。
An error occurred while sending mail (%{value})
这是我的 email.yml 的转储,不包括密码详细信息。
production:
delivery_method: :smtp
smtp_settings:
address: smtp.gmail.com
port: 587
domain: <domain>.com
authentication: :login
user_name: "redmine@<domain>.com"
password: "<password>"
我正在尝试将 Redmine 实例配置为使用谷歌应用程序电子邮件服务。 PS:我还使用以下命令在我安装的 lib 文件夹中安装了 smtp_tls
curl -O http://blog.expandrive.com/wp-content/uploads/2008/12/smtp_tls.rb
另外,在我的 config/environments/production.rb 文件中,我已经包含了
require "smtp_tls"
感谢任何帮助。我期待一些错误消息代替 %{value} 所以不太确定这里发生了什么。
【问题讨论】: