using Cc: with mail()

From: Date: Wed, 14 Jul 2004 15:55:18 +0000
Subject: using Cc: with mail()
Groups: php.general 
Request: Send a blank email to php-general+get-190495@lists.php.net to get a copy of this message
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"); The Cc isn't working, and it looks strange to me. I want to find an example of mail() using Cc: so I can see if it's using the correct syntax and everything. Plus I want to change everything to variables, but I can do that once it is working correctly. Can anyone direct me to a good example or tell me what's wrong? Thanks! Amanda

« previous php.general (#190495) next »