Re: Adding *another* person to an e-mail *to:* address
| From: | Anthony Ritter | Date: | Tue, 20 Nov 2001 01:03:14 +0000 |
| Subject: | Re: Adding *another* person to an e-mail *to:* address | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10525@lists.php.net to get a copy of this message | ||
Daniel,
Well...It sure didn't work for me with the comma and space...I got:
Warning: Server Error in c:\program files\apache
group\apache\htdocs\send_simpleform.php on line 10
When I got rid of the second e-mail address and just used one address
everything is back to normal.
Further, I checked the php.net doc...under mail() step 4:
$recipient .= "Mary <mary@u.college.edu>" . ", " ; file://note the comma
and that doesn't work.
I'm using MS Windows 98 w/ Apache
Anybody want to share their php script with two e-mail addresses?
Thank you.
Tony Ritter
.........................................
Daniel Parsons <daniel.parsons@imlnetwork.com> wrote in message
news:BGEJJKPALPIPJFCEDFNLOEKECDAA.daniel.parsons@imlnetwork.com...
> > > $recipient .= "Mary <mary@u.college.edu>" . ", " ;
> > > file://note the
comma
>
> It is also worth pointing out that you need to include the space as
> well.
> $to = "me@home.com,you@yourhome.com" won't work, whereas
> $to = "me@home.com, you@yourhome.com" will work.
>
> Daniel.
..........................................