Defect #6078

Email notification not working at all

Added by Stephan Senn about 7 years ago. Updated almost 4 years ago.

Status:ClosedStart date:2010-08-09
Priority:NormalDue 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 = ""
or
@recipients = ["",""]

... 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

Revision 4003
Added by Azamat Hackimov about 7 years ago

Translation updates for upcoming release

History

#1 Updated by Nick Peelman about 7 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 about 7 years ago

  • Assignee deleted (Martin Herr)
  • Priority changed from Urgent to Normal

#3 Updated by Toshi MARUYAMA almost 4 years ago

  • Status changed from New to Closed

This issue is too old.
Mail impletation changed in Rails3 porting.

Also available in: Atom PDF