Not strictly true, the mail function will send to multiple email addresses separated by a comma, you can also cc and bcc by using headers. See the manual, which has some good examples of this.
Mark -----Original Message----- From: Patrick Schnegg [mailto:[EMAIL PROTECTED] Sent: 04 March 2003 13:14 To: [EMAIL PROTECTED] Subject: [PHP] Re: mail() function 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php