Questo è il codice che uso io.
Soero ti sia utile. In caso sono qui...

codice:
 protected function build_header()
    {
    $headers  = "MIME-version: 1.0\r\n";
    $headers .= "Content-Type: multipart/mixed; boundary = ".$this->mail_boundary."\r\n";
    if ($this->mail_from!="") $headers .= "From: ".$this->mail_from."\r\n";
    if ($this->mail_cc!="") $headers   .= "Cc: ".$this->mail_cc."\r\n";
    if ($this->mail_bcc!="") $headers  .= "Bcc: ".$this->mail_bcc."\r\n";
    $headers .= "X-Mailer: Archinizer PHPMailFunction.\r\n\n";
    $this->mail_headers = $headers;
    }