I have written an application to send ecards

  1. It has a drop down to select a ecard, to, from, date,message, preview, finish options.
  2. After entering details and clicking on finish able to save data into datbase
    3.Able to send the ecard immediately
  3. Unable to send the ecard for further date.

Need a sample code to schedule a application which runs on daily basis, to select the ecards which are not sent and if they matches to current date we need to send them