title: Using JavaMail to send email to users automatically on exceeding the due date
body: <p>I have a <code>ISSUEBOOK</code> database(mysql)  which contains following field/columns</p>
  
  <ul>
  <li>loginID</li>
  <li>IssueDate</li>
  <li>DueDate</li>
  </ul>
  
  <p>Now i need to implement a <code>JAVA</code> code which should <code>automatically</code> send mail to the users who exceeds their due date.</p>
  
  <p>Information about users email address can be retrieved from <code>STUDENTACCOUNT</code> database using their loginid.</p>
  
  <p>So help me in providing the pseudocode/Algo to achieve this. I am using Struts 1.3.8 framework.</p>
  
  <p>And if i want to run the above implemented code regularly at a fixed time than if am correct i have to implement  <code>quartz scheduler</code>. </p>