Hi guys i just started working on a system at work that uses your bug tracking system. i would like it to send a cc or bcc whenever an email goes out. This is sent from a perl script btw. my current code that makes a bug report and sends an email is as follows:
$ticketUrl='http://142.164.64.18/mantis/login.php?u ... ord=SECRET';
$ticketUrl1="http://142.164.64.18/mantis/bug_report. ... ption=$url";
$browser = LWP::UserAgent->new;
$browser->cookie_jar({});
$response = $browser->get($ticketUrl);
$response = $browser->get($ticketUrl1);
$str_mantis=$response->content;
@id = split("View Submitted Issue ", $str_mantis);
@id2 = split('<',$id[1]);
$ct=$id2[0];
$ticketUrl2="http://142.164.64.18/mantis/bug_assign. ... bug_id=$ct";
$response = $browser->get($ticketUrl2);
all i can figure out is the handler_id is who the email goes to but there si no option for a cc or bcc. basically whenever a bug gets reported it should email the person that fixes it and also cc or bcc his manager. thanks for any help.
adding a cc to email?
Moderators: Developer, Contributor
The handler ID is not who the email goes to as such, but in fact the person that has the issue assigned to them.
If you set up your email notifications through the configuration correctly, the manager or whatever should automatically get the email, too.
By the way, is there any reason you're not using the MantisConnect webservice with your Perl script? I think you can safely say that that would be more future-safe...
If you set up your email notifications through the configuration correctly, the manager or whatever should automatically get the email, too.
By the way, is there any reason you're not using the MantisConnect webservice with your Perl script? I think you can safely say that that would be more future-safe...