title: Filter a high volume database and then sending a mass email to those
body: <p>I have a database with 20k people in it. How can I safely filter through it and then sending an email to those that correspond to my criteria? Let's say my filter returns 5k emails</p>
  
  <p>I was thinking to add a parameter to database; let's say <code>status</code> and update it to 1, and then to rewrite the .htaccess to create a cron job that runs a script only for those that have <code>status</code> set to 1 from 10 to 10 mins with limit 100 and update <code>status</code> to 0 again. Any of you have a better idea? or is my idea bad?</p>
  
  <p>I'm using PHPmailer.</p>