Redmine版本3.4
Phusion乘客5.1.7
在配置中。yml我有
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "xxxx.pl"
port: 587
authentication: :plain
domain: 'redmine.xxx.pl'
user_name: '.....@redmine.xxx.pl'
password: '......'
Error ID: 54731089
Error details saved to: /tmp/passenger-error-WqNBmN.html
Message from application: undefined method `address=' for ActionMailer::Base:Class (NoMethodError)
我搜索了一下,发现我在应用程序中缺少了一些方法。rb文件。
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "xxx.pl",
port: 587,
user_name: 'powiadomienia@redmine.xxx.pl',
password: '.....',
authentication: :plain
}
但仍然有相同的错误。不幸的是,我在Redmine配置中找不到任何示例。
有人能帮我吗?