Re: Multiple mail () boxes???
| From: | David Robley | Date: | Wed, 27 Sep 2000 05:34:30 +0000 |
| Subject: | Re: Multiple mail () boxes??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17657@lists.php.net to get a copy of this message | ||
On Wed, 27 Sep 2000, Sandeep Hundal wrote:
> Hi everyone,
>
> I was wondering if it was possible to have several input boxes for
> emails so that visitors to my site could tell several people in one
> go about it.
>
> But how do I add it to the mail directive??
>
> This is what I have currently for 1 recpient.
>
>
> mail($femail, $yname, $parsedmsg, "From:$from \n");
>
>
> Thanks!!
>
> /sunny
>
Try looking in the manual which says you can specify multiple recipients by
putting a comma between each address in the to parameter which in your case
is $femail.
--
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