User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:issue:5887

This is an old revision of the document!


It's a draft that needs to be completed…

Introduction

This package has been created to send email reminders to the manager (to remember them to assign unassigned bugs) and to the developper (to resolve their assigned bugs). This page describes how to install and configure the reminder package.

Installation

  • Download the reminder package from the issue #5887 (actual package is reminder_new.tar.gz)
  • Unzip the package into the Mantis installation directory (ex.: tar zxvf reminder_new.tar.gz)
  • Copy the reminder_config_inc.php.sample to reminder_config_inc.php

Configuration

Debug features

$g_reminder_email_debug = OFF;
$g_reminder_email_debug_address = "name@domain.com";

Theses variables are used to debug the reminder package if you have some issues with it. To turn on the debug feature, you must set to ON the $g_reminder_email_debug variable and specify an email address (in the $g_reminder_email_debug_address) where all email will be sent.

Unresolved reminders

$g_first_remind = 15;
$g_second_remind = 30;

Unassigned reminders

$g_first_assign_remind = 7;
$g_second_assign_remind = 14;

Activation

$g_reminder_enable = ON;
$g_excepted_date[] = array( 
			    array( 'wday' => 0 ),
                            array( 'wday' => 6 ),
			    array( 'mday' => 1, 'mon' => 1 ),
			    array( 'mday' => 1, 'mon' => 5 ),
			    array( 'mday' => 8, 'mon' => 5 ),
			    array( 'mday' => 14, 'mon' => 7 ),
			    array( 'mday' => 15, 'mon' => 8 ),
			    array( 'mday' => 1, 'mon' => 11 ),
			    array( 'mday' => 11, 'mon' => 11 ), 
			    array( 'mday' => 25, 'mon' => 12 ),
			    array( 'mday' => 28, 'mon' => 3, 'year' => 2005 ) );
$g_excepted_user[] = array(
			    'administrator' => array( 'year' => 2005 ) );
$g_excepted_bug = array();

Execution/Scheluded task

To send the reminder you need to browse the reminder.php page in your browser (no HTML output will be generated) or execute the PHP client with the command: php /installation/directory/reminder.php.

You can create a scheduled task to do this job automaticaly each days.

Feel free to add your own comment ;-)

mantisbt/issue/5887.1155129812.txt.gz · Last modified: 2008/10/29 04:31 (external edit)

CC Attribution-Noncommercial-Share Alike 4.0 International Driven by DokuWiki