Defect #6078
closedEmail notification not working at all
0%
Description
The behavior is very strange. The test email is working correctly. But as soon as a user wants to add or edit an issue, she/he does not get an email. I've figured out the problem:
The variable @recipients in "mailer.rb" does somehow not take over the array which is passed by issues.recipients. The funny thing is if I define the variable @recipients just in place there let's say...
@recipients = "test@test.com"
or
@recipients = ["test1@test.com","test2@test.com"]
... then the email/s is/are sent. And it is getting more weird: If I dump the state of the variable @recipients after assignment, the array is correctly assigned. So something must be fishy either with the reference of_ issues.recipients_ or what I think with the @recipients instance class variable. Maybe the call for sending the email does not belong to the created instance class?!
At the moment I have no further idea how to solve this problem...