Do this: $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], jonmundur@ mail.is"; -----Original Message----- From: David Orn Johannsson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: [PHP] Mailing to numerous with mail() 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] <mailto:[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 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.atom.is <http://www.atom.is/> ------------------------