Page 1 of 1

Email Notifications

Posted: 14 Mar 2012, 17:43
by eric.flecher
Hello -
I currently have mantis up and running correctly except for some issues with email notifications.

Working correctly: New user is sent an email to complete sign up and registration

Not working: Email notifications for new defects, assigned defects, and all other actions.

My Current Email config:
Screen Shot 2012-03-14 at 12.42.03 PM.png
Screen Shot 2012-03-14 at 12.42.03 PM.png (78.6 KiB) Viewed 10338 times
How do I get email notifications to work for defect related events?

Thanks,
Eric

Re: Email Notifications

Posted: 14 Mar 2012, 20:51
by atrol
You should describe step by step what you do, what you expect and what you get.
For example:
User A who is a DEVELOPER reports an issue and assigns the issue to user B who is a DEVELOPER.
I expect that user B gets email, but user B does not get email.

Re: Email Notifications

Posted: 23 Apr 2012, 05:12
by DRS_security
This thread is a tiny bit old, but this is exactly the problem I'm having.

What I want is:
User A who is a reporter raises the issue but receives no email on creation.
User B who is an manager receives an email that the issue has been raised.
User B assigns the issue to user C who is a developer, and receives no email about this.
User C receives an email saying that it has been assigned to them.
User C sets the status to closed but is not notified by email
User A gets an email saying their issue has been closed.

At the moment I have :
No emails when an issue is changed in any way.
Email alerts are sent when a user is modified (so it can send emails).
Email alerts a sent when the 'remind' button is pushed in the issue.


Even when I tick all of the boxes in the 'manage configuration -> email notifications' nothing happens. I did think that the project settings where over writing them, so I clicked the 'delete project specific settings' button and confirmed that I wanted them deleted, but nothing changed: still no emails.

I've just in the last few days downloaded and installed what looked like the latest stable version: 1.2.10
does anyone know what's going on?

Re: Email Notifications

Posted: 25 Apr 2012, 16:33
by esutton
On a possibly related problem...

After upgrading from 1.2.4 to 1.2.10, I no longer receive copies of newly created issues that I create. Email reminders to myself work fine.

Another Email Notification Problem

Posted: 26 Jun 2012, 21:56
by jdw2101
At the risk of being repetitive, I too am having issues with emailing on new issues. I'm using version 1.2.11 (note that I've upgraded from 1.2.5 and it wasn't working there either). I want a reporter to issue a defect and an automatic email to be sent to anyone with a role of "product owner". (I also want the same role to be email on defect close.)

I have made the following customizations:

1) custom_constants_inc.php - Added the following:
define ( 'PRODUCT_OWNER, 80 );
Note that this is the only custom value assigned with this name and number.

2) config_inc.php: added the following definitions:
$g_access_levels_enum_string =
'10:viewer,55:developer,70:manager,75:tester,80:product_owner,90:administrator';
and
$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY);

$g_notify_flags['new']['threshold_min'] = PRODUCT_OWNER;
$g_notify_flags['new']['threshold_max'] = NOBODY;
$g_notify_flags['closed']['threshold_min'] = PRODUCT_OWNER;
$g_notify_flags['closed']['threshold_max'] = NOBODY;

The autoemails work fine when assigning defects, etc. as I have defined, but they are not working on "new". In the attachments, I've shown the project Email settings and the preference settings for a typical user assigned the new role. Also to add, I can tail the email log files and no emails from Mantis are reaching it. So, I think issues with the email server are excluded as possible causes.

Can anyone help?
mantis.png
mantis.png (94.77 KiB) Viewed 9963 times
mantis2.png
mantis2.png (88.44 KiB) Viewed 9963 times