note 22472 added to function.mail

From: Date: Wed, 19 Jun 2002 10:29:47 +0000
Subject: note 22472 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-32010@lists.php.net to get a copy of this message
I tried to send a cc and a bcc, but it didn't worked. I used the following code: $headers .= "Cc: ". $cc ."\r\n"; $headers .= "Bcc: ". $bcc ."\r\n"; when I changed it to the following it worked: $headers .= "Cc: $cc\r\n"; $headers .= "Bcc: $bcc\r\n"; I hope it helps -- http://www.php.net/manual/en/function.mail.php http://master.php.net/manage/user-notes.php?action=edit+22472 http://master.php.net/manage/user-notes.php?action=delete+22472 http://master.php.net/manage/user-notes.php?action=reject+22472

« previous php.notes (#32010) next »