I have make an application for sending mail,
there is some requirement that is if less than 5 days remainig for particular
adds than a mail is send to the user.
I have done all of thing, works well, but there is a problem that i am calling
this page on page load, so the mail is send each and every time when the page get refereshed.
How i can stop this... that is if the mail is sent for today there must no other mail to be send....is there any Logic ?