sending multipule email with mail ()
| From: | Mark Lo | Date: | Mon, 26 Jun 2000 17:30:52 +0000 |
| Subject: | sending multipule email with mail () | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3144@lists.php.net to get a copy of this message | ||
Hi,
I know how to use the mail funtion, but how to use the mail
function to send multiple email messages to different person. Should I
use the mail () inside a while loop if all of the email address is
stored in the database. Is this a formal way to send multiple email.
Any suggestion is helpful.
example.
While ($row=mysql_fetch_row($result))
{
mail function
}
Thank you for your help
Mark