note 84387 added to function.mail

From: Date: Fri, 11 Jul 2008 14:37:50 +0000
Subject: note 84387 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-141404@lists.php.net to get a copy of this message
$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? ---- Server IP: 69.147.83.197 Probable Submitter: 124.43.63.160 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/84387 Del: integrated -- https://master.php.net/note/delete/84387/integrated Del: useless -- https://master.php.net/note/delete/84387/useless Del: bad code -- https://master.php.net/note/delete/84387/bad+code Del: spam -- https://master.php.net/note/delete/84387/spam Del: non-english -- https://master.php.net/note/delete/84387/non-english Del: in docs -- https://master.php.net/note/delete/84387/in+docs Del: other reasons-- https://master.php.net/note/delete/84387 Reject -- https://master.php.net/note/reject/84387 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141404) next »