Problem with email sent to every user
Moderators: Developer, Contributor
-
mari001
Problem with email sent to every user
Hi,
I have been using MantisBT version 1.2.8 for a couple of years with no problem with the emails. Most of the users are reporters, a couple of them are managers of several projects. I configured the email notifications in: Manage > Manage Configuration > E-mail Notifications and the emails are sent only to the users that open a ticket or the managers.
The problem came when I installed a newer version (1.2.12), with the same configuration, the emails are sent to most of the users instead of being send only to the one that open the issue and the managers of the project. I have double-check the configuration and it is the same in both installations.
I would appreciate if someone could help me with this problem. Now I had to stop sending emails as they bother the other user not involved in a issue.
Thanks in advance
I have been using MantisBT version 1.2.8 for a couple of years with no problem with the emails. Most of the users are reporters, a couple of them are managers of several projects. I configured the email notifications in: Manage > Manage Configuration > E-mail Notifications and the emails are sent only to the users that open a ticket or the managers.
The problem came when I installed a newer version (1.2.12), with the same configuration, the emails are sent to most of the users instead of being send only to the one that open the issue and the managers of the project. I have double-check the configuration and it is the same in both installations.
I would appreciate if someone could help me with this problem. Now I had to stop sending emails as they bother the other user not involved in a issue.
Thanks in advance
Re: Problem with email sent to every user
Enable email logging to see what happens
To suppress sending to other users add also
Code: Select all
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';Code: Select all
$g_debug_email = 'yourName@yourCompany.com';-
mari001
Re: Problem with email sent to every user
Ok, done.
I did a test and I sent you the log file.
Thanks
I did a test and I sent you the log file.
Thanks
- Attachments
-
- mantisbt.log
- (3.45 KiB) Downloaded 395 times
Re: Problem with email sent to every user
The log file shows that the email will be sent only to user with id 1.
There are some other users collected that should get a notification and are dropped afterward as they deactivated the notification for notes.
I see nothing wrong in it.
There are some other users collected that should get a notification and are dropped afterward as they deactivated the notification for notes.
I see nothing wrong in it.
-
mari001
Re: Problem with email sent to every user
Well, now I have deactivated the notification for most of the users in order to no bother them but it is activated for 2 of them for the test. I will activate all of them and test again because the fact is that they received the emails, that is sure.
I will send you the new log when I do the new test.
Thanks for your help
I will send you the new log when I do the new test.
Thanks for your help
Re: Problem with email sent to every user
You should also attach a screenshot of page Manage > Manage Configuration > E-mail Notifications of the affected project.
Ensure that the screenshot is taken with selected project in project drop down (don't choose "All Projects")
Ensure that the screenshot is taken with selected project in project drop down (don't choose "All Projects")
-
mari001
Re: Problem with email sent to every user
Hi,
I did a new test and send you the log and the screenshot. I think that it worked fine again, but I don't know why. I think that I am going to monitor the emails next days in order to find if it happens again or it is solved.
Thanks for your help
I did a new test and send you the log and the screenshot. I think that it worked fine again, but I don't know why. I think that I am going to monitor the emails next days in order to find if it happens again or it is solved.
Thanks for your help
- Attachments
-
- mantisbt.log
- (3.69 KiB) Downloaded 344 times
-
- Email configuration.jpg (184.37 KiB) Viewed 9103 times
Re: Problem with email sent to every user
Probably not.mari001 wrote:I configured the email notifications in: Manage > Manage Configuration > E-mail Notifications and the emails are sent only to the users that open a ticket or the managers.
Your screenshot shows for example that you configured that all reporters are getting notifications whenever a note is added to any issue .
This is what happens if you enable the checkbox in row "E-mail on Note Added" column "reporter" in section "Access Levels".
This systems does just what you configured.
-
mari001
Re: Problem with email sent to every user
Hi Atrol,
I thought that that checkbox in row "E-mail on Note Added" was to send an email when a Note was added, if you check "User who reported issue"; "user who is handling the issue" etc. It would only be sent to those roles. ¿It is not like this? I have the same configuration in the other MantisBT version and the behavior is different, it only send emails to the user who reported the issue or the manager who is monitoring the issue.
Thanks
I thought that that checkbox in row "E-mail on Note Added" was to send an email when a Note was added, if you check "User who reported issue"; "user who is handling the issue" etc. It would only be sent to those roles. ¿It is not like this? I have the same configuration in the other MantisBT version and the behavior is different, it only send emails to the user who reported the issue or the manager who is monitoring the issue.
Thanks
Re: Problem with email sent to every user
I wrote "checkbox in row "E-mail on Note Added" column "reporter" in section "Access Levels"
Not column "User who reported issue", this one is ok for your need.
Not column "User who reported issue", this one is ok for your need.
-
mari001
Re: Problem with email sent to every user
Ok, understood. I thought that column was needed to be check in order to permit to all "reporter" users to receive emails, but related to their own issues, not other's. But now I know that it is not like this I will uncheck that colum.
Thanks
Thanks