note 84387 rejected from function.mail by danbrown

From: Date: Fri, 11 Jul 2008 14:38:33 +0000
Subject: note 84387 rejected from function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141405@lists.php.net to get a copy of this message
Note Submitter: samanthajayasingha at hotmail dot com ---- $t1->parse("MyOutput","MyFileHandle"); $message1=($t1->get("MyOutput")); //send_mail($data[ord_cust_fname],$data[ord_cust_email],"Your new order on $SiteName",$message); $headers1 = 'MIME-Version: 1.0' . "\r\n"; $headers1 .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; //$headers .= 'To:'. $FName.' <'.$email_msg_to.'>' . "\r\n"; $headers1 .= 'From: <booking@cheapbedfinder.com>' . "\r\n"; $headers1 .= 'Cc: eranka@webcrafts.example.com' . "\r\n"; mail($data[ord_cust_email],"Voucher", $message1, $headers1); To the above code, I want to add a CC to go to [hotelier_email] as well, how do we add the CC to this?

« previous php.notes (#141405) next »