title: How can I send an auto email from MySQL records?
body: <p>I am using a MySQL database and PHP.<br>
  My MySQL database contains the following records:</p>
  
  <pre><code>  Name  Address    Data    email             Date
    Joy   Fortblair  10     my@gmail.comm    1/22/2009
    Bob   Atlanta    15      bob@gmail.com    2/22/2009
  </code></pre>
  
  <p>My intention is to send the email using PHP with the following conditions:</p>
  
  <ul>
  <li><p>The data is 1 day old. (<code>Current date - date = 1 day</code>)</p></li>
  <li><p>It should mail all the email records at one time.</p></li>
  </ul>
  
  <p>What is the best way to get started?</p>