add: $mailheaders.="CC: $other_email\n";
$mailheaders.="BCC: $other_email\n"; should also work but I haven't managed to get blind carbon copy to work for me :( -----Original Message----- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 12:49 PM To: [EMAIL PROTECTED] Subject: [PHP] Additional e-mail address in PHP script... 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="[EMAIL PROTECTED]"; $subject="Website Feedback"; $mailheaders="From: My website<> \n"; $mailheaders.="Reply to: $sender_email\n\n"; mail($to,$subject,$msg,$mailheaders); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]