I am sending mails from my codes, for some activities.
But some mails may fail due to some or other reason.
I am keeping details of all such failed mails in a table.
Now my plan is to periodically check that table and resend mails if the table contain failed mails.
Or in other words,I want to call a method SentFailedMails() in every 12 hours.
How can I do this is c#
My application is a WCF service,Hosted on IIS