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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ziohausam
Posts: 26
Joined: 24 Jul 2007, 08:04

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

Post 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
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

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

Post by vzw614 »

Yes, search my posts for other email notification topics. I have posted how to do this several times.
ziohausam
Posts: 26
Joined: 24 Jul 2007, 08:04

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

Post 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
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

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

Post 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.
ziohausam
Posts: 26
Joined: 24 Jul 2007, 08:04

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

Post by ziohausam »

Yes email notification is on. we receive email normally according to email notification configurations.

Thanks
ziohausam
Posts: 26
Joined: 24 Jul 2007, 08:04

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

Post 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
Post Reply