Additional e-mail address in PHP script...
| From: | Anthony Ritter | Date: | Mon, 19 Nov 2001 01:48:41 +0000 |
| Subject: | Additional e-mail address in PHP script... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75055@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);
?>