Hello,
I've done some customizations to mantis (renamed strings to localized names, etc.) and it seems that Mantis cannot figure out when to send e-mails any more.
For example, when I'm creating an entry, Mantis should send a notification to project Administrators, but I have turned on e-mail logging and have this in the logs:
2011-12-05 16:44 CET mail_recipient Issue = #15, add Reporter = @U14
2011-12-05 16:44 CET mail_recipient Issue = #15, drop @U14 (own)
... and no e-mails are being sent.
I suspect the problem is in notify_flags, but I have this in the config_inc.php file:
$g_notify_flags['Zahtjevnica'] = array(
'bugnotes' => OFF,
'monitor' => OFF,
'threshold_min' => ADMINISTRATOR,
'threshold_max' => ADMINISTRATOR
);
... where the string "Zahtjevnica" stands for "new" and it still doesn't work.
//$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';
$g_status_enum_string = '10:Zahtjevnica,20:Radni nalog,30:Sluzba nabave,50:U postupku,80:Izvjestaj,90:Zakljuceno';
I can post more configuration options if it is needed.
This is on Mantis 1.2.5.
E-mails not scheduled to send?
Moderators: Developer, Contributor
Re: E-mails not scheduled to send?
If you want to receive messages which are triggered by your own activity you have to add the following line to config_inc.php
Code: Select all
$g_email_receive_own = ON;
Re: E-mails not scheduled to send?
No, that's ok, I do not wish to receive my own e-mails, but there are others with Administrator levels who don't receive the messages.
so the question is: is there a way to debug the e-mail sending decision making process?
so the question is: is there a way to debug the e-mail sending decision making process?
Re: E-mails not scheduled to send?
Check your database settings "Manage" -> "Manage Configuration" -> "E-mail Notifications"
The database settings override the settings in config_inc.php
Check also that the other administrators have enabled the various notifications under "My Account" -> "Preferences"
If you want more than the output of
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
you have to use a PHP debugger or do some old style debugging by adding print statements to the code
The database settings override the settings in config_inc.php
Check also that the other administrators have enabled the various notifications under "My Account" -> "Preferences"
If you want more than the output of
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
you have to use a PHP debugger or do some old style debugging by adding print statements to the code