Page 1 of 1

How to Send an email when new issue reported (V1.1.1)

Posted: 28 Jul 2008, 09:21
by ziohausam
Hello,

I have some project that some engineers (Developers) will be linked to it.

I will give the customer a reported access level. i need him just to report the issue. so we receive it as "New". he will not be allowed to change its status.

I just need some engineer to be notified by email when a "New" Issue is added. is that possible?

Thanks

Re: How to Send an email when new issue reported (V1.1.1)

Posted: 28 Jul 2008, 15:49
by vzw614
Yes, search my posts for other email notification topics. I have posted how to do this several times.

Re: How to Send an email when new issue reported (V1.1.1)

Posted: 29 Jul 2008, 10:52
by ziohausam
Hi vzw614

I did search for your posts concerning this matter
I've tried this :
in config_inc.php I've added:

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

and I've added an account to a specific project as a manager send i've reported an issue, but still no email sent to this manager

Thanks

Re: How to Send an email when new issue reported (V1.1.1)

Posted: 29 Jul 2008, 19:18
by vzw614
Has anyone gotten any emails from Mantis (are you sure Mantis is configured properly to be able to send emails)?

Make sure you have this line set...
$g_enable_email_notification = ON;

There is a page that allows you to test emails, open
\admin\check.php in your mantis directory and about half way down the page is a Test Email.

You can add these lines to config_inc.php to help debug email issues...
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:c:/mantis/mantis.log';

Change the log destination to a valid path on your installation.

Re: How to Send an email when new issue reported (V1.1.1)

Posted: 30 Jul 2008, 07:20
by ziohausam
Yes email notification is on. we receive email normally according to email notification configurations.

Thanks

Re: How to Send an email when new issue reported (V1.1.1)

Posted: 06 Aug 2008, 06:05
by ziohausam
I've copied those lines to config_inc:

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:c:/mantis/mantis.log';

and this is what i can see in this log after reporting a new issue (manager level is configured to receive an email, but no emails):

August 06, 2008 08:56 EEST mail_recipient bug=4765, add reporter=127
August 06, 2008 08:56 EEST mail_recipient bug=4765, drop 127 (own)
August 06, 2008 08:56 EEST mail bug=4765, type=new, msg=email_notification_title_for_action_bug_submitted, recipients=()
August 06, 2008 08:58 EEST mail_recipient bug=4766, add reporter=127
August 06, 2008 08:58 EEST mail_recipient bug=4766, drop 127 (own)
August 06, 2008 08:58 EEST mail bug=4766, type=new, msg=email_notification_title_for_action_bug_submitted, recipients=()


Any solution for this?

Thanks v much