You can do two things.. First you can use $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]";
or you could use a loop such as for or while to mail to each address using a function or not whatever way you wanted to. In article <009a01c1eb9c$9b5cf2b0$6501a8c0@gandalf>, [EMAIL PROTECTED] (David Orn Johannsson) wrote: > I�m trying to send an email useing mutible email addresses, could any > one tell me why this isn�t working, it works when I only use one address > ($to = [EMAIL PROTECTED]) > but not when I use the following code. > > > > $to = "[EMAIL PROTECTED]", " ; > $to .= "[EMAIL PROTECTED]" . ", " ; > $to .= "jonmundur@ mail.is"; > > $subject = "Subject�; > $body = "Body�; > > mail($to, $subject, $body, "From: [EMAIL PROTECTED] "); > > <http://www.atom.is/> ------------------------ > Dav�� �rn J�hannssson > Vefforritari > ------------------------ > At�mst��in hf. > Gar�astr�ti 37 > 101 Reykjav�k > ------------------------ > s�mi: 595-3643 > fax: 595-3649 > <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] > <http://www.atom.is/> http://www.atom.is > ------------------------ > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

