gpt4 book ai didi

email - 如何解决在 Redmine 中无法发送电子邮件的问题?

转载 作者:行者123 更新时间:2023-12-02 05:18:23 31 4
gpt4 key购买 nike

我想弄清楚为什么我的 Redmine 安装没有发送电子邮件(例如关于问题更新的通知等)。我的 configuration.yml 文件是这样配置的:

production:  email_delivery:    delivery_method: :sendmail

I've also tried configuring for SMTP with the same non-results:

 production:   email_delivery:     delivery_method: :smtp     smtp_settings:       enable_starttls_auto: true       address: "smtp.gmail.com"       port: 587       domain: "smtp.gmail.com"       authentication: :plain       user_name: "xxxxxxxx@gmail.com"       password: "xxx"

I don't know how to troubleshoot this. Is there a log that errors are written to? I've already checked the production.log but it didn't have any helpful hints. Thanks for your help.

RAILS_ENV=production script/about
/home/ootbdv/.gems/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType
/home/ootbdv/.gems/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt
/home/ootbdv/.gems/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang
/home/ootbdv/.gems/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName

Environment:
Redmine version 2.3.0.stable.11680
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed

(我不知道为什么会收到这些警告。如果有人知道如何摆脱它们,请告诉我。)

最佳答案

我仍然不知道问题的答案,但我通过切换回 sendmail 解决了我的问题(没有让 Redmine 发送电子邮件)。如果您遇到这个问题,您可能只想尝试返回到 sendmail

关于email - 如何解决在 Redmine 中无法发送电子邮件的问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15674288/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com