No notification after status change

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Woefdram
Posts: 21
Joined: 18 Jul 2005, 12:10
Location: Netherlands

No notification after status change

Post by Woefdram »

I have customised things like status and impact and am trying to get e-mail notification correct. So far without success. If I change an issue's status, Mantis doesn't always send an e-mail. Why not?

I have set:

Code: Select all

$g_default_notify_flags = array('reporter'      => ON,
                                'handler'       => ON,
                                'monitor'       => ON,
                                'threshold_min' => NOBODY,
                                'threshold_max' => NOBODY);
This should send reporter, handler and monitor an e-mail of every change, right? It doesn't work for most status changes. After that I defined the g_notify_flags for every status, but still no effect.

If I check the "e-mail notification" settings page, everything is exactly as I would want it to be. Those are the default settings, I have no project or user specific settings. All my custom-made statuses are there, all the right checkboxes are checked, but no e-mail...

Can anybody please give me a hint as to where I should look?

I use Mantis 1.1.0rc3 on a Linux/Apache installation.

Cheers,

Hans
Woefdram
Posts: 21
Joined: 18 Jul 2005, 12:10
Location: Netherlands

Re: No notification after status change

Post by Woefdram »

Found it. Too bad nobody else seemed to know this...?

The default config says:

Code: Select all

$g_default_email_on_new           = ON;
$g_default_email_on_assigned      = ON;
$g_default_email_on_feedback      = ON;
$g_default_email_on_resolved      = ON;
$g_default_email_on_closed        = ON;
$g_default_email_on_reopened      = ON;
$g_default_email_on_bugnote       = ON;
$g_default_email_on_status        = 0; # @@@ Unused
$g_default_email_on_priority      = 0; # @@@ Unused
I was misled by the "Unused" comment in _on_status and _on_priority. Obviously these options are no longer unused. I changed them to "ON" and now Mantis sends an e-mail of everything that happens, just as I wanted.

Can some maintainer please remove the "Unused" comment in de default config?

Kind regards,

Hans
Post Reply