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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED],[EMAIL PROTECTED]\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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to