View Issue Details

IDProjectCategoryView StatusLast Update
0003458mantisbtemailpublic2004-08-29 02:00
Reporterstefd Assigned Tovboctor  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionduplicate 
Summary0003458: email notification notification
Description

I dont't understand how to configure
$g_default_notify_flags
$g_notify_flags
in the config_defauls_inc.php

Additional Information

I only want this config

  • on a new bug : only the manager of the project must receive a notification.
  • on a resolved bug : only the administrator of mantis must receive an notification
    For all the other action nobody must receive a notification
    Please help me, it's very important
    you can mail me at sdubart@mag.fr
TagsNo tags attached.

Relationships

duplicate of 0003766 closedthraxisp status notifications are confused and confusing 
child of 0003987 closedvboctor Mantis 0.19.0 Release 

Activities

vboctor

vboctor

2003-12-11 22:43

manager   ~0004789

Last edited: 2003-12-11 22:44

You can find details on how to customise these configurations in:
http://mantisbt.sourceforge.net/manual/manual.configuration.email.php

I will eventually add more details in:
http://mantisbt.sourceforge.net/manual/manual.customizing.mantis.email.notifications.php

To achieve what you want, you should setup these options as follows:

$g_default_notify_flags = array('reporter' => OFF, 'handler' => OFF, 'manager' => OFF, 'monitor' => ON, 'bugnotes' => OFF, 'threshold_min' => NOBODY, 'threshold_max' => NOBODY );

$g_notify_flags['new'] = array('manager' => ON );
$g_notify_flags['resolved'] = array('threshold_min' => ADMINISTRATOR, 'threshold_max' => ADMINISTRATOR );

The above settings should achieve what you want. The extra thing I added is that if someone is monitoring the bug, he/she will be notified with any change made to it.

edited on: 12-11-03 22:44

wic

wic

2003-12-16 15:02

reporter   ~0004815

Last edited: 2003-12-16 16:04

Me too! The mail notification stuff needs more documentation. A few practical examples and their results would be awesome.

For debugging emails, use this:

Used for debugging e-mail feature, when set to OFF the emails

work as normal.

when set to e-mail address, all e-mails are sent to this address

with the original To, Cc, Bcc included in the message body.

$g_debug_email = "youremail@foo.com";

edited on: 12-16-03 16:04

jferraz

jferraz

2004-08-08 09:40

reporter   ~0006813

VictorBoctor, are you sure that there is a 'manager' element in these arrays? They don't seem to be used at all...