Re: Additional e-mail address in PHP script...

From: Date: Mon, 19 Nov 2001 08:09:44 +0000
Subject: Re: Additional e-mail address in PHP script...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75076@lists.php.net to get a copy of this message
haven't you tried to add a CC to the header? $mailheadrs .="Cc: me@host.com\n"; "Anthony Ritter" <tony@gonefishingguideservice.com> wrote in message news:20011119004348.82559.qmail@pb1.pair.com... > 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.general (#75076) next »