I think I got it
Saw (this )bug on pear.php.net
that steered me in the right direction.
First follow scottro's tutorial (here.)
create an array in class.email.php right before this statement.
if($smtp){ //Send via SMTP
$mail = mail:('smtp',
array ('host' => $smtp,
'port' => $smtp,
'auth' => $smtp?true,
'username' => $smtp,
'password' => $smtp,
'timeout' =>20,
'debug' => false,
));
like so:
$smtp_to = array (
'To' => $to,
'Cc'=> $cc,
'Bcc' => $bcc;
Then replace;
$result = $mail->send($to, $headers, $body);
if(!PEAR:($result))
return true;
with
$result = $mail->send($smtp_to, $headers, $body);
if(!PEAR:($result))
return true;
If you followed all of scottro's steps plus mine you should now be able to send cc and bcc emails when replying to a ticket when using smtp.
Just make sure to not make a bcc header if you want it to ne a true blind carbon copy.