RE: [PHP] Mailing to numerous with mail()

From: Date: Wed, 24 Apr 2002 14:33:37 +0000
Subject: RE: [PHP] Mailing to numerous with mail()
Groups: php.general 
Request: Send a blank email to php-general+get-94385@lists.php.net to get a copy of this message
Do this: $to = "elin@mail.is, david@atom.is, jonmundur@ mail.is"; -----Original Message----- From: David Orn Johannsson [mailto:david@atom.is] Sent: Wednesday, April 24, 2002 10:31 AM To: php-general@lists.php.net 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 = david@atom.is <mailto:david@atom.is> ) but not when I use the following code. $to = "elin@mail.is", " ; $to .= "david@atom.is" . ", " ; $to .= "jonmundur@ mail.is"; $subject = "Subject"; $body = "Body"; mail($to, $subject, $body, "From: mail@mail.is "); <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 david@atom.is <mailto:david@atom.is> http://www.atom.is <http://www.atom.is/> ------------------------

« previous php.general (#94385) next »