Thank you for the response.
Could you please give me an example.
"Michel" <please_no@spam.nl> wrote in message news:<bultai$469$1@news.cistron.nl>...
> Put the recips in an array and loop your script through.
>
> M
>
> "Keru" <arian@rocketmail.com> wrote in message
> news:b21774b9.0401210437.2ca80f6d@posting.google.c om...
> > Hi I have an mail form. I have multiple address in the form but only
> > the first email address gets the form mailed. What am I doing wrong.
> > Any help will be appreciated.
> > Thanks in advance.
> >
> > Here is the code
> > $message = stripslashes($message);
> > mail("johndoe@domain.com,janedoe@domain.com","Onli ne
> > registration",$message,"From: online@domain.com<online@domain.com>");
> > $make=fopen("admin/data.dat","a");
> > $to_put="";
> > $to_put .=
> $EventID."|".$Form_Type."|".$Pin."|".$Title."|".$F irstName."|".$FamilyName."
> |".$Organisation."|".$Address1."|".$Address1."|".$ SuburbCity."|".$Country."|
> ".$PhoneB."|".$FaxB."|".$PhoneM."|".$Email"|".$Use rDefined2."|".$UserDefined
> 3."
> > ";
> > fwrite($make,$to_put);
> > header("Refresh: 0;url=http://www.domain.com/thanks.htm");