Defect #6078
Email notification not working at all
Status: | Closed | Start date: | 2010-08-09 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Email notifications | |||
Target version: | - | |||
Resolution: | Affected version: | 0.9.3 |
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...
Associated revisions
History
#1
Updated by Nick Peelman about 12 years ago
The user doesn't, by chance, have their preference set to not receive notifications for updates they make themselves?
#2
Updated by Eric Davis almost 12 years ago
- Assignee deleted (
Martin Herr) - Priority changed from Urgent to Normal
#3
Updated by Toshi MARUYAMA over 8 years ago
- Status changed from New to Closed
This issue is too old.
Mail impletation changed in Rails3 porting.