I've done more or less the same thing in an app before. As long as you're working with a database it's pretty easy.
First, store the date and time for the first send attempt. Then simply setup a timer to run every few seconds, (no shorter than the connect timeout property), check the database for date and time less than now, compile and send the email, set the date and time to the next schedule depending on the parameters.
|