Users can't deactivate all email notifications

General discussion of Mantis.

Moderators: Developer, Contributor

Melli

Users can't deactivate all email notifications

Post 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 17546 times
Is there any known issue with this setting?
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post by atrol »

I was not able to reproduce the issue with latest stable version of MantisBT (1.2.15 at the moment)
Please use Search before posting and read the Manual
Melli

Re: Users can't deactivate all email notifications

Post 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.
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post 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';
Please use Search before posting and read the Manual
Kurt
Posts: 7
Joined: 16 May 2013, 20:44
Location: Calgary

Re: Users can't deactivate all email notifications

Post 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.
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post 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?
Please use Search before posting and read the Manual
rubencamacho
Posts: 9
Joined: 16 May 2013, 10:14

Re: Users can't deactivate all email notifications

Post 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:
Attachments
mantis.jpg
mantis.jpg (162.89 KiB) Viewed 17472 times
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post 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.
Please use Search before posting and read the Manual
Kurt
Posts: 7
Joined: 16 May 2013, 20:44
Location: Calgary

Re: Users can't deactivate all email notifications

Post 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.
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post 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"
Please use Search before posting and read the Manual
Kurt
Posts: 7
Joined: 16 May 2013, 20:44
Location: Calgary

Re: Users can't deactivate all email notifications

Post 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
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post by atrol »

Kurt, I am not sure if I understand right.
Do you have still a reproducible issue or not?
Please use Search before posting and read the Manual
Kurt
Posts: 7
Joined: 16 May 2013, 20:44
Location: Calgary

Re: Users can't deactivate all email notifications

Post 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.
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post 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)
Please use Search before posting and read the Manual
Kurt
Posts: 7
Joined: 16 May 2013, 20:44
Location: Calgary

Re: Users can't deactivate all email notifications

Post by Kurt »

Adding a note didn't send an e-mail
Post Reply