View Single Post
Old 20-11-2003, 18:22   #3 (permalink)
Sharif
Registered User
 
Join Date: May 2003
Posts: 54
Here is how I would do it:

- Store the users emails in a database
- Query to get all the emails

Then do this:

while(THE VARIABLE THAT WILL LOOP TO GET EMAILS, call it $var1)
{
mail($var1, 'subject', 'message', 'headers');
}

It will email everyone. That's not as efficient as most newsletter scripts are, but it's a simpe solution.
  Reply With Quote