For RC4
In include/staff/viewticket.inc.php ~ line 305 AFTER
<div style="margin-top: 3px;">
<label for="ticket_status"><b>Ticket Status:</b></label>
<?
$checked=isset($info)?'checked':''; //Staff must explicitly check the box to change status..
if($ticket->isOpen()){?>
<input type="checkbox" name="ticket_status" value="Close" <?=$checked?> > Close on Reply
<?}else{ ?>
<input type="checkbox" name="ticket_status" value="Reopen" <?=$checked?> > Reopen on Reply
<?}?>
</div>
ADD
<div>
<label for="carbon_copy"><b>Cc:</b></label>
<input type="text" name="carbon_copy" value="<?=$cc?>" />
<label for="blind_carbon_copy"><b>Bcc:</b></label>
<input type="text" name="blind_carbon_copy" value="<?=$bcc?>" />
</div>
Then in scp/tickets.php ~ line 75 CHANGE
//If no error...do the do.
if(!$errors && ($respId=$ticket->postResponse($_POST,$_POST,$_POST,$_FILES))){
TO
$cc = strip_tags($_POST);
$bcc = strip_tags($_POST);
//If no error...do the do.
if(!$errors && ($respId=$ticket->postResponse($_POST,$_POST,$_POST,$_FILES,true,$cc,$bcc))){
Then in include/class.ticket.php ~ line 561 CHANGE
function postResponse($msgid,$response,$signature='none',$attachment=false,$canalert=true){
TO
function postResponse($msgid,$response,$signature='none',$attachment=false,$canalert=true,$cc,$bcc){
Then in include/class.ticket.php ~ line 613 AFTER
break;
endswitch;
$body = str_replace("%signature",$signature,$body);
ADD
$headers="";
if($cc) $headers.="Cc: ".$cc."\r\n";
if($bcc) $headers.="Bcc: ".$bcc."\r\n";
Then in include/class.ticket.php ~ line 620 CHANGE
$headers="MIME-Version: 1.0\n" .
TO
$headers.="MIME-Version: 1.0\n" .