Air-code *not tested*
Class.ticket.php has code like this $email->send($ticket->getEmail(),$subj,$body,$file);
Assuming this is making a call to class.email.php
The send function has
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject,
'Date'=>date('D, d M Y H O'),
'Message-ID' =>'<'.Misc:(6).''.time().'-'.$this->getEmail().'>',
'X-Mailer' =>'osTicket v 1.6',
'Content-Type' => 'text/html; charset="UTF-8"');
I would expect this code to BCC the email.
$bcc="mycopy@copyme.com";
$headers = array ('From' => $from,
'To' => $to,
'Bcc' =>$bcc,
'Subject' => $subject,
'Date'=>date('D, d M Y H O'),
'Message-ID' =>'<'.Misc:(6).''.time().'-'.$this->getEmail().'>',
'X-Mailer' =>'osTicket v 1.6',
'Content-Type' => 'text/html; charset="UTF-8"'
);
One way to check this is working is to look through class.mail and put a
print_r($headers);
die();
just to see if it gets called correctly.
Looks right to me though.
Hope that helps.
Cheers
G