I'm writing an application where the user will create an appointment, and instantly get an email confirming their appointment. I'd also like to send an email the day of their appointment, to remind them to actually show up.
I'm in ASP.NET (2.0) on MS SQL . The immediate email is no problem, but I'm not sure about the best way to address the reminder email. Basically, I can think of three approaches:
- Set up a SQL job that runs every night, kicking off SQL emails to people that have appointments that day.
- Somehow send the email with a "do not deliver before" flag, although this seems like something I might be inventing.
- Write another application that runs at a certain time every night.
Am I missing something obvious? How can I accomplish this?