Issue with emailing rules

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Issue with emailing rules

Post by istvanb »

I'd like to not spam my manager to hell with all the emails coming from mantis, so we have decided that he has to receive emails only when an issue is reported, moved to assigned or moved to resolved. I have set the emailing rules for him as the attached file shows.

Now interestingly he does not receive emails when an issue is created or assigned (I have not check the resolved) at all. The system is capable to send out emails without an issue to ALL the users and if I check all the checkboxes in the manager column then he starts to receive the emails again. (I didnt track down if I need only 1 specific checkbox to check but I know it works fine if all of them are checked)

It looks like a bug for me, however there may be another setting(s) I misuse.

please let me know, how can I resolve this.
Attachments
email_to_managers.gif
email_to_managers.gif (97.14 KiB) Viewed 7978 times
atrol
Site Admin
Posts: 8374
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Issue with emailing rules

Post by atrol »

To trace what is happening, add temporarely the following lines to config_inc.php

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';
Please use Search before posting and read the Manual
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Issue with emailing rules

Post by istvanb »

I did it and here comes the results:

Generally: I dont receive emails for my own actions and the only person needs to be notified is my manager (in this test case)

attempt no1: everything is set as it displayed above

Code: Select all

2010-11-02 13:56 GMT mail_recipient Issue = #104, add Reporter = @U8
2010-11-02 13:56 GMT mail_recipient Issue = #104, add Handler = @U8
2010-11-02 13:56 GMT mail_recipient Issue = #104, add Project User = @U8
2010-11-02 13:56 GMT mail_recipient Issue = #104, drop @U8 (own)
attempt no2: I checked all the checkboxes ON

Code: Select all

2010-11-02 13:58 GMT mail_recipient Issue = #105, add Reporter = @U8
2010-11-02 13:58 GMT mail_recipient Issue = #105, add Project User = @U4
2010-11-02 13:58 GMT mail_recipient Issue = #105, add Project User = @U8
2010-11-02 13:58 GMT mail_recipient Issue = #105, drop @U8 (own)
2010-11-02 13:58 GMT mail Issue = #105, Type = new, Msg = 'email_notification_title_for_action_bug_submitted', User = @U4, Email = 'mymanageremail@server.com'.
attempt no3: everything is on except "E-mail on Change of Handler"
attempt no4: everything is on except "E-mail on Reopened"

None of attempt3 or 4 posted a mail to my manager and the response in the log file was exactly the same as attempt1. I did not continue move forward with the attempts because it really looks like a buggy behaviour.

At the same time reminder still works and as you see if all the boxes are check the email will be sent.

For me it really looks like a bug now! Let me know your thoughts!

thanks,
i-
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Issue with emailing rules

Post by istvanb »

I will check and let you know if it interferes with the myaccount settings
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Issue with emailing rules

Post by istvanb »

It works fine if I set the mailing priority of the individual (on the myaccount page of the user). I am fine with that however, this really looks like a bug for me. It would be nice if somebody could confirm this.
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Issue with emailing rules

Post by istvanb »

However I can decrease the number of emails for my manager by setting his personal preferences its not a real solution because from now on he wont receive a mail if an issue is assigned to him! I think this thing should be investigated. Waiting for a confirmation.
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Issue with emailing rules

Post by istvanb »

Post Reply