RE: [PHP] mail()

From: Date: Tue, 20 Feb 2001 00:40:43 +0000
Subject: RE: [PHP] mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40677@lists.php.net to get a copy of this message
When i use Cc: name@domain it doesnt send any emails if i use CC it gives me the same result as cc, any other suggestions? -----Original Message----- From: David Robley [mailto:huntsman@hermes.nisu.flinders.edu.au] Sent: Tuesday, February 20, 2001 11:28 AM To: Peter Houchin; PHP MAIL GROUP Subject: Re: [PHP] mail() On Tue, 20 Feb 2001 08:52, Peter Houchin wrote: > > I have a mail script that works fine except that it does not send to > the CC in my header options... nor will it send to multiple addresses > can some one please give me some advice on this... I've looked in the > php manual as well as other web pages but neither have an answer for > me. > > my code is below > > Thanks in advance > Peter Houchin > <SNIP CODE> > > $headers .= "cc:peterh@vfsa.com.au,peterh@vfsa-erentals.com.au\n"; // > CC to You might try using Cc: name@domain Note capital C and space after the colon. > > //send the email > > $mailsend = mail("$address", "$subject", "$body.", "$headers > \nContent-Type: text/plain; Someone else pointed out the full stop :-) > charset=iso-8859-1\nContent-Transfer-Encoding: 8bit" ); print > ("$mailsend"); -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#40677) next »