Mantis Logo
Mantis Manual
Manual
Customizing Mantis

Custom Fields
Enumerations
Email Notifications
Customizing Status Values
LDAP
Custom Functions


Partner Links


Email Notifications
Last Modified: August 23, 2004 09:08AM
(Any)
Description

See Email in the Configuration section.

Examples:

  • Notify only managers of new issues.
    $g_notify_flags['new']['threshold_min'] = MANAGER; $g_notify_flags['new']['threshold_max'] = MANAGER;

  • Notify Developers and managers of all project events, except, exclude developers from the 'closed' events.
    $g_default_notify_flags['threshold_min'] = DEVELOPER; $g_default_notify_flags['threshold_max'] = MANAGER; $g_notify_flags['closed']['threshold_max'] = MANAGER; $g_notify_flags['closed']['threshold_max'] = MANAGER;

  • Exclude those who contributed bug notes from getting messages about other changes in the bug.
    $g_default_notify_flags['bugnotes'] = OFF;

  • Exclude those monitoring bugs from seeing the 'closed' message
    $g_notify_flags['closed']['monitor'] = OFF;

  • Only notify developers when bugnotes are added.
    $g_notify_flags['bugnote']['threshold_min'] = DEVELOPER; $g_notify_flags['bugnote']['threshold_max'] = DEVELOPER;

  • Notify managers of changes in sponsorship.
    $g_notify_flags['sponsor']['threshold_max'] = MANAGER; $g_notify_flags['sponsor']['threshold_max'] = MANAGER;

  • Notify originator and managers of changes in ownership ("Assigned To:").
    $g_notify_flags['owner']['threshold_max'] = MANAGER; $g_notify_flags['owner']['threshold_max'] = MANAGER; $g_notify_flags['owner']['reporter'] = ON;

  • I'm paranoid about mail. Only send information on issues to those involved in them. Don't send mail people already know about. Also send new bug notifications to managers so they can screen them.
    $g_mail_receive_own = OFF; $g_default_notify_flags = array('reporter' => ON, 'handler' => ON, 'monitor' => ON, 'bugnotes' => ON, 'threshold_min' => NOBODY, 'threshold_max' => NOBODY); $g_notify_flags['new']['threshold_min'] = MANAGER; $g_notify_flags['new']['threshold_max'] = MANAGER;

  • How do I replace the $g_to_email configuration variable to log all messages to an email logger.

    You will need to create a dummy user with the appropriate access level for the notices you want to log. Once this user is added to projects, they will receive mail using the appropriate rules.
















User Contributed Notes
Email Notifications
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Fri, 12 Mar 2010 - 8:03:46

Mantis @ SourceForge