Re: Re: mail() function

From: Date: Tue, 04 Mar 2003 13:27:35 +0000
Subject: Re: Re: mail() function
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-138098@lists.php.net to get a copy of this message
Oh, silly me. Commas are indeed accepted. My apologies. ----- Original Message ----- From: "Jason Wong" <php-general@gremlins.biz> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Tuesday, March 04, 2003 2:18 PM Subject: Re: [PHP] Re: mail() function > On Tuesday 04 March 2003 21:13, Patrick Schnegg wrote: > > The mail() function will only send one mail at a time, to send multiple > > mails you would write a loop like this (presuming you had your mail > > addresses ready in an array called $emails): > > > > foreach ($emails as $email) { > > mail($email, "your subject", "your message"); > > } > > > > "Denis L. Menezes" <menezesd@singnet.com.sg> wrote in message > > news:002c01c2e24d$9989a890$1e02a8c0@pcdenisxp... > > Hello friends, > > > > Can the mail() function send emails to multiple addresses which are > > formatted as follows : > > > > person1@hotmail.com,person2@yahoo.com,person3@yahoo.com..... etc with a > > comma or a semicolon between them? > > Denis, Patrick, both of you take a look at the example in the manual. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Having the fewest wants, I am nearest to the gods. > -- Socrates > */ >

« previous php.general (#138098) next »