Hi Ntozier,thanks a lot for your advise. I just tried the change but received the following error message: Parse error: syntax error, unexpected T_CONCAT_EQUAL, expecting ')' in /www/htdocs/wxxxxxx/support/include/class.email.php on line 148In my old osTicket Version the changes are at to places:... //do some cleanup $eol="\n"; $to=preg_replace("/(\r\n|\r|\n)/s",'', trim($to)); $subject=stripslashes(preg_replace("/(\r\n|\r|\n)/s",'', trim($subject))); $body = stripslashes(preg_replace("/(\r\n|\r)/s", "\n", trim($message))); $fromname=$this->getName(); $from =sprintf('"%s"<%s>',($fromname?$fromname:$this->getEmail()),$this->getEmail()); $headers = array ('From' => $from, 'To' => $to, 'Bcc' => "copy@mydomain.com" , '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"' ); $mime = new Mail_mime(); $mime->setTXTBody($body); //attachment TODO: allow multiple attachments - $attachment should be mixed parts. if($attachment && $attachment && is_readable($attachment)) { //file of mime type. $mime->addAttachment($attachment,$attachment,$attachment); }...and... //encode the body $body = $mime->get($options); //encode the headers. $headers = $mime->headers($headers); if($smtp){ //Send via SMTP $mail = mail:('smtp', array ('host' => $smtp, 'port' => $smtp, 'auth' => $smtp?true, 'username' => $smtp, 'password' => $smtp, 'timeout' =>20, 'debug' => false, )); $result = $mail->send($to, $headers, $body); $result = $mail->send('copy@mydomain.com', $headers, $body); if(!PEAR:($result)) return true;...Unfortunatly I can't find similar code in the new version of osTicket to copy the changes.Thanks a lot in advance to everybody for any further advise.