Users can't deactivate all email notifications

General discussion of Mantis.

Moderators: Developer, Contributor

atrol
Site Admin
Posts: 8385
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't deactivate all email notifications

Post by atrol »

Thanks Kurt for your hints,
I am now able to reproduce the issue.
Nearly any change on page bug_update_page.php triggers sending of an e-mail which can't be suppressed by user settings.

The behavior is a conceptual problem and a known issue http://www.mantisbt.org/bugs/view.php?id=12030
There are options to suppress e-mail for all kind of status change and nearly all kind of actions you can trigger from page view.php
(add notes, close, reopen, .....)
Ok, there is at least one kind of action where you also can't suppress the e-mail: add a relationship
There is also no way to suppress messages which are triggered by change of custom fields.
Furthermore the e-mail notification options would have to be project specific for a clean solution (they are global atm) as custom fields are project sepcific.

We would end up in a quite huge list of options if every kind of notification can individually be set to on or off.
Having an option like "E-mail on updated" is no solution as end users would not understand which change of an issue is an update and which is not.

Maybe a global override option for the user could serve as an interim solution, something like "Disable all e-mail notifications"

My conclusion at the moment: The issue can't be solved in current version of MantisBT because the e-mail notification system needs a redesign
Don't expect that this will happen in near future.

The good news:
There are at least two options to get what you want.
a) write a plugin that hooks the event EVENT_NOTIFY_USER_EXCLUDE and delivers the user id's of users which should never get e-mail
b) delete the e-mail adress of the user (you have to change it in database table mantis_user_table column "email")
Please use Search before posting and read the Manual
Post Reply