Project

General

Profile

Actions

Defect #6078

closed

Email notification not working at all

Added by Stephan Senn over 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2010-08-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

Actions #1

Updated by Nick Peelman over 13 years ago

The user doesn't, by chance, have their preference set to not receive notifications for updates they make themselves?

Actions #2

Updated by Eric Davis over 13 years ago

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

Updated by Toshi MARUYAMA over 10 years ago

  • Status changed from New to Closed

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

Actions

Also available in: Atom PDF