View Issue Details

IDProjectCategoryView StatusLast Update
0009369mantisbtemailpublic2013-01-11 16:30
Reportervzw614 Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.1.1 
Summary0009369: $g_default_notify_flags in config_defaults_inc.php
Description

I think that $g_default_notify_flags in the supplied config_defaults_inc.php file has an incorrect 'threshold_min' setting.

As defined in the file...
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY);

Wouldn't having the min and max set to NOBODY = no emails being sent?
Shouldn't 'threshold_min' => ANYBODY?

TagsNo tags attached.

Activities

vzw614

vzw614

2008-07-15 15:36

reporter   ~0018561

This might be the behavior you want but if it is you should document it in the config file. Currently I think most people reading the config setting would assume that to make email notifications work all you need to do is turn them on, which is not the case. You also need to lower the value of threshold_min before any emails are sent.

thraxisp

thraxisp

2008-07-29 20:59

reporter   ~0018915

This has been the default since mail notifications was introduced. There are notes in the manual on various useful settings (http://www.mantisbt.org/manual/manual.customizing.mantis.email.notifications.php).

atrol

atrol

2013-01-02 13:10

developer   ~0034672

Wouldn't having the min and max set to NOBODY = no emails being sent?
No, the thresholds are for ALL users with a certain access level

 * The following two config options allow you to control who should get email
 * notifications on different actions/statuses.  The first option (default_notify_flags)
 * sets the default values for different user categories.  The user categories
 * are:
 *
 *      'reporter': the reporter of the bug
 *       'handler': the handler of the bug
 *       'monitor': users who are monitoring a bug
 *      'bugnotes': users who have added a bugnote to the bug
 *      'explicit': users who are explicitly specified by the code based on the action (e.g. user added to monitor list).
 * 'threshold_max': all users with access <= max
 * 'threshold_min': ..and with access >= min