mail not sending to multiple address

From: Date: Wed, 14 Feb 2001 05:26:10 +0000
Subject: mail not sending to multiple address
Groups: php.general 
Request: Send a blank email to php-general+get-39583@lists.php.net to get a copy of this message
Can some one please have a look through this and give me a step in the right direction asto why my mail script won't cc or bcc. I've checked with the mail server admin and he said as far as the email server is concerned it supports multiple email address.. it will only send to the $address but not any other address.. /* recipients */ $address .= "$email" ;//note the comma // Subject $subject = "ABC Calculation Results"; //Body of email $body = "Thank you $user,\n Your Rental Monthly Figures are as follows:\n \n 24 Months = $ $m2 \n 36 Months = $ $m3 \n 48 Months = $ $m4 \n Your Quartly Figures are: \n $ $q2 Over 24 Months \n $ $q3 Over 36 Months \n $ $q4 Over 48 Months\n \n\n\n\n Thank you again from VFSA-eRentals</font>"; //Where the email is from $headers .= "From: ABC <webmaster@acb.com.au>\n"; $headers .= "X-Sender: <webmaster@abc.com.au>\n"; $headers .= "X-Mailer: PHP\n"; // mailer $headers .= "X-Priority: 1\n"; // Urgent message! $headers .= "Return-Path: <webmaster@abc.com.au>\n"; // Return path for errors /* If you want to send html mail, uncomment the following line */ //$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type $headers .= "cc:peterh@abc.au\n"; // CC to $headers .= "bcc:mattr@abc.com.au\n"; // BCCs to //send the email $mailsend = mail("$address", "$subject", "$body.", "$headers \nContent-Type: text/plain; charset=iso-8859-1\nContent-Transfer-Encoding: 8bit" ); print ("$mailsend"); ?> Thanks Peter

« previous php.general (#39583) next »