Email Notifications for projects

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
jsmith
Posts: 3
Joined: 10 Feb 2009, 16:08

Email Notifications for projects

Post by jsmith »

Hello,

I have recently configured mantis 1.1.6. Everything seems to be working fine except for some of the e-mail notifications. Basically, what I would like to happen is to assign users to different projects so that they are automatically notified every time a ticket is created / modified for their project regardless who created the ticket or who it is assigned to. Right now, I receive e-mail notifications for everything but this. I thought all I had to do was assign that user to the project under the configuration section and they would begin to receive e-mails. What setting do I have wrong or is this behavior not possible?

Thanks,
Jason
jsmith
Posts: 3
Joined: 10 Feb 2009, 16:08

Re: Email Notifications for projects

Post by jsmith »

Does any one know how to add users to certain projects so they receive e-mail notifications for new issues created for that project. I've not been able to get this to work although I believe it is possible. I'm sure I'm just missing a setting in the config file.

Thanks,
Jason
VCA160
Posts: 3
Joined: 16 Feb 2009, 09:34

Re: Email Notifications for projects

Post by VCA160 »

All the user which are "manager" of a a project receive mail notification.
Can your user be manager ?
Mantis: 1.2.0a3
PHP: 5.2.6-2
MySQL: 5.0.67
OS: Ubuntu
jsmith
Posts: 3
Joined: 10 Feb 2009, 16:08

Re: Email Notifications for projects

Post by jsmith »

Yes. I would like to set it up so that all managers for a particular project received e-mail notifications for new issues created. I tried setting the following:

$g_notify_flags['new']['threshold_min'] = MANAGER;
$g_notify_flags['new']['threshold_max'] = MANAGER;

However, these settings send e-mail notifications to all managers no matter which project the ticket is generated under.

Thanks,
Jason
skayser
Posts: 9
Joined: 20 Apr 2006, 15:05

Re: Email Notifications for projects

Post by skayser »

Hi Jason,

we have a setup with such g_notify_flags running here like a charm. Make sure that you don't have users with global MANAGER privileges (those would receive notificiations for all projects). Assign them global REPORTER (or whatever) privileges and then only grant them MANAGER privileges on the projects for which they should receive notifications.

Also you might find the email logging feature of Mantis useful. Pop the following into your config_inc.php to trace how Mantis populates the recipient list for notifications.

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/path/to/logfile';

Sebastian
Post Reply