Re: mail()

From: Date: Tue, 20 Feb 2001 00:28:10 +0000
Subject: Re: mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40674@lists.php.net to get a copy of this message
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

« previous php.general (#40674) next »