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...
Updated by Nick Peelman over 14 years ago
The user doesn't, by chance, have their preference set to not receive notifications for updates they make themselves?
Updated by Eric Davis over 14 years ago
- Assignee deleted (
Martin Herr) - Priority changed from Urgent to Normal
Updated by Toshi MARUYAMA over 11 years ago
- Status changed from New to Closed
This issue is too old.
Mail impletation changed in Rails3 porting.