Hello
I send an email
TO : Ali
CC : Veli
The bug submitted, "Bug Submitted" email comes to Ali.
How can i send Bug Submitted email to Veli ?
I want to send "Bug Submitted" notification mail to CC people.
My config
// Add users from Cc and To field in mail header
'mail_add_users_from_cc_to' => ON,
Send Submitted bug email to CC people
Moderators: Developer, Contributor
-
- Posts: 23
- Joined: 12 Dec 2016, 13:45
Re: Send Submitted bug email to CC people
How can i send Bug Submitted notification mails to people which are in CC ? Help pls
Re: Send Submitted bug email to CC people
EmailReporting should work the same way MantisBT does.
MantisBT does not add monitors during issue creation. You can add them after the issue has already been created. Because of this EmailReporting also adds the monitors after the new issue notification has been sent.
Based on current design what you want is not possible
But if you really want this, do the following
Add this code
to this line https://github.com/mantisbt-plugins/Ema ... .php#L1054
After this it should work as you desire... assuming MantisBT's notification system has been properly configured to notify monitors of new issues
MantisBT does not add monitors during issue creation. You can add them after the issue has already been created. Because of this EmailReporting also adds the monitors after the new issue notification has been sent.
Based on current design what you want is not possible
But if you really want this, do the following
Add this code
Code: Select all
//Add the users in Cc and To list in mail header
$this->add_monitors( $t_bug_id, $p_email );
After this it should work as you desire... assuming MantisBT's notification system has been properly configured to notify monitors of new issues
-
- Posts: 23
- Joined: 12 Dec 2016, 13:45
Re: Send Submitted bug email to CC people
I added that code, Submitted mail comes who submitted issue,
But submitted mail dont goes to CC people. I attached my email reporting configuration.
But submitted mail dont goes to CC people. I attached my email reporting configuration.
- Attachments
-
- emailreportingconfig.png (34.12 KiB) Viewed 6817 times
Re: Send Submitted bug email to CC people
Check whether the CC people are on the monitoring list in the created issue in question. If they are not then you need to make sure that the users in question have a MantisBT account
Then check whether MantisBT notifies monitors of the necessary actions. "Status changes to 'new'" for "Users monitoring this issue" needs to turned on
Then check whether MantisBT notifies monitors of the necessary actions. "Status changes to 'new'" for "Users monitoring this issue" needs to turned on