Re: Mailing to numerous with mail()

From: Date: Wed, 24 Apr 2002 15:00:52 +0000
Subject: Re: Mailing to numerous with mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94387@lists.php.net to get a copy of this message
On Wed, 24 Apr 2002, 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 = 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 "); I believe you have to call mail() once for each addressee. miguel

« previous php.general (#94387) next »