Project

General

Profile

Send Test Email fails

Added by Rob Hill over 6 years ago

On clicking "Send a test email" in the Administration Email notifications tab, I get an error:

An error occurred while sending mail (undefined method `error' for true:TrueClass)

My configuration.yml setup is:

default:
  email_delivery:    
    delivery_method: :sendmail

CentOS 7
Sendmail is installed and tested.


Replies (2)

RE: Send Test Email fails - Added by Rob Hill over 6 years ago

Redmine 3.4.2
Rails 4.2.8

RE: Send Test Email fails - Added by Rob Hill over 6 years ago

Found this in the log:

NoMethodError (undefined method `error' for true:TrueClass):
app/models/mailer.rb:497:in `initialize'
config/initializers/10-patches.rb:163:in `deliver'
app/models/mailer.rb:64:in `block in deliver_issue_add'
app/models/issue.rb:1060:in `each_notification'
app/models/mailer.rb:63:in `deliver_issue_add'
app/models/issue.rb:1847:in `send_notification'
app/models/issue.rb:212:in `create_or_update'
app/controllers/issues_controller.rb:129:in `create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

    (1-2/2)