Adding a cc to a PHP mail script...

From: Date: Mon, 19 Nov 2001 01:47:35 +0000
Subject: Adding a cc to a PHP mail script...
Groups: php.windows 
Request: Send a blank email to php-windows+get-10488@lists.php.net to get a copy of this message
Is there any way to add an *additional* e-mail address - a cc - besides the one that is already in the $to variable below using the following PHP script? Thanking all in advance. Tony Ritter .......................................... <? $msg="This e-mail is being sent from www site\n"; $msg.="Sender's name: \t$sender_name\n"; $msg.="Sender's e-mail:\t$sender_email\n"; $msg.="Message:\t$message\n\n"; $to="tony@gonefishingguideservice.com"; $subject="Website Feedback"; $mailheaders="From: My website<> \n"; $mailheaders.="Reply to: $sender_email\n\n"; mail($to,$subject,$msg,$mailheaders); ?>

« previous php.windows (#10488) next »