Page 1 of 2

Users can't deactivate all email notifications

Posted: 26 Apr 2013, 07:55
by Melli
Got some reports from devs/reporters that they still get lots of email-notifications about new/updated/aso stuff even if all options are disabled in personal settings.
mantis.png
mantis.png (40.58 KiB) Viewed 17552 times
Is there any known issue with this setting?

Re: Users can't deactivate all email notifications

Posted: 27 Apr 2013, 17:33
by atrol
I was not able to reproduce the issue with latest stable version of MantisBT (1.2.15 at the moment)

Re: Users can't deactivate all email notifications

Posted: 27 Apr 2013, 18:57
by Melli
we run 1.2.15 too, confirmed it with several accounts. Some users report it's a long ongoing issue, hasn't started with latest update. Strange one but thanks for testing.

Re: Users can't deactivate all email notifications

Posted: 27 Apr 2013, 19:23
by atrol
Enable email logging to see what happens

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';

Re: Users can't deactivate all email notifications

Posted: 16 May 2013, 21:19
by Kurt
I have this problem too, but it's really only an issue with developers that are no longer on the project. I don't want to delete their account because it screws up the issues their names are on and I don't want to disable their account either because then you can't select their name in the search filters, but I can't disable e-mails being sent to them either. The only acceptable solution I've found is to change the address associated with their account to mine. It would be nice if there was a checkbox to turn off e-mails completely.

Re: Users can't deactivate all email notifications

Posted: 16 May 2013, 21:56
by atrol
I was not able to reproduce the issue.
Kurt, maybe you can enable e-mail tracing?
Kurt wrote:but it's really only an issue with developers that are no longer on the project.
What does "no longer on the project" mean in terms of MantisBT? (you wrote it does not mean deleted or deactivated)
Are other developers able to disable the notifications?

Re: Users can't deactivate all email notifications

Posted: 18 May 2013, 11:23
by rubencamacho
Hi Melli,

Check your configuration on email notifications. see my attached file to see what i mean.

1. Check first from which project is the email notification coming from, then select that project on your mantis
2. Click on 'Manage' >> 'Manage Configuration' >> 'Email Notifications'
3. Make Sure that on access levels, there is no check box checked --- viewer, reporter, updater, developer, manager, administrator

For example, if the administrator checked boxes are checked, once you create a ticket on the project, it will send email notification to all administrators on you mantis (based from my experience -- not 100% sure this is correct)

:wink: :wink: :wink:

Re: Users can't deactivate all email notifications

Posted: 18 May 2013, 13:21
by atrol
rubencamacho, did you have a look at Melli's screenshot?
The user has deactived all notifications.
He shouldn't get any e-mail even if you activate all checkboxes for all access levels.

Re: Users can't deactivate all email notifications

Posted: 21 May 2013, 19:59
by Kurt
atrol,

When I say "no longer on the project", I mean no longer in the company and possibly no longer have a valid e-mail address. When this happens, I remove them from the "project" in MantisBT (but leave the account active) and uncheck all the boxes in their MantisBT e-mail settings. I haven't verified, but I think they might only be sent e-mails when they are the reporter of the issue.

Re: Users can't deactivate all email notifications

Posted: 23 May 2013, 16:06
by atrol
Kurt,
I tried various combinations including all what you told (user is activated, removed from the project, reporter of an issue) and I am still not able to reproduce the issue.
I tried the use case of adding a note with checkbox disabled for setting "E-mail on Note added"

Re: Users can't deactivate all email notifications

Posted: 23 May 2013, 16:26
by Kurt
I have several users like this. I'm embarrassed to say that one of them still had checkboxes set to send e-mails. I'm positive I disabled them, but... somehow they weren't. Nevertheless, I am sure that back when I was first investigating this problem, I was testing with a user that had all checkboxes unchecked. The reason why I had to change the e-mail address to mine was because IT complained about the bounced e-mails. I'm using Mantis 1.2.11

Re: Users can't deactivate all email notifications

Posted: 23 May 2013, 16:54
by atrol
Kurt, I am not sure if I understand right.
Do you have still a reproducible issue or not?

Re: Users can't deactivate all email notifications

Posted: 23 May 2013, 17:22
by Kurt
Yes, there's still a problem. Here is what I just tested:
1. created a test user
2. reported an issue with the test account
3. removed the user from the project
4. unchecked all the boxes for e-mails
5. changed their address to mine
6. using another account, made some updates to the bug

I got e-mails for the updates.

Re: Users can't deactivate all email notifications

Posted: 23 May 2013, 17:36
by atrol
Kurt wrote: 6. using another account, made some updates to the bug
I would like to concentrate on one specific action. Can you try e.g. adding a note instead of "making some updates".
Please confirm also that there is no checkbox enabled for any access level (see the screenshot of rubencamacho for what I mean with it)

Re: Users can't deactivate all email notifications

Posted: 23 May 2013, 17:56
by Kurt
Adding a note didn't send an e-mail