adding a cc to email?
Posted: 21 Sep 2005, 22:28
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.
$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.