Just in case you don't know, you can easily make an array out of your string of emails by exploding using the commas as separators:
$emails = explode (",", $stringOfEmails); "Patrick Schnegg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Hello friends, > > Can the mail() function send emails to multiple addresses which are > formatted as follows : > > [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] etc with a > comma or a semicolon between them? > > Thanks > Denis > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php