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/> 
------------------------

 

Reply via email to