Re: using Cc: with mail()

From: Date: Wed, 14 Jul 2004 16:05:21 +0000
Subject: Re: using Cc: with mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190501@lists.php.net to get a copy of this message
Amanda Hemmerich wrote:
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");
I would have thought it needs a space after Cc: and before the email address. Look at the example code here: http://uk.php.net/manual/en/function.mail.php -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough to know everything." - Oscar Wilde

« previous php.general (#190501) next »