I have web app(asp.net mvc3, .net 4) and I am trying to implement the email notification service.
Basically, there is a table with a datetime/content and a user to send email to, and when we get to that datetime on table, I want to send out the notification email.
I am not sure how this should be implemented, should there be some kind of background thread that constantly checks the database? I feel that this would be inefficient.
Can you suggest some ways of doing this?