Re: using Cc: with mail()

From: Date: Wed, 14 Jul 2004 16:15:17 +0000
Subject: Re: using Cc: with mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190500@lists.php.net to get a copy of this message
* Thus wrote Amanda Hemmerich: > Ok, I am trying to fix a bug on a site I didn't write, and I looked for > examples on www.php.net and couldn't find what I needed. > > Here is the line of code in question: > > mail($email, "XXX - Conference Registration Confirmation", $message, > "From: confirmations@XXX.com\r\n" . "Cc:linda@XXX.com; > info@XXX.com"); > > ... > > Can anyone direct me to a good example or tell me what's wrong? > Try using something like: CC: linda@xxx.com, info@xxx.com Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#190500) next »