Hi all,
I have searched for this topic and I can't find anything that matches my request. And if this question has been asked before, I apologize.
I have a SQL Express DB with employee info. One of the fields is the DOB fields.
I would like to send an email to the employee on his/her birthday.
I am Using VB.NET 2008
I have the code that sends email already, so that part is taken care.
How do I go about checking the records in the database to see if the Employee birthday = today and if it is how to generate the email automatically?
I don't want to run a service, I like this to happens when the application is launched in the morning.
Once the mail has been sent, I like to mark that record with a EmailSent=True.
I am sure this must have been asked before, or is there any other way of doing this? A better or more efficient way perhaps
Thanks
Ed
I have searched for this topic and I can't find anything that matches my request. And if this question has been asked before, I apologize.
I have a SQL Express DB with employee info. One of the fields is the DOB fields.
I would like to send an email to the employee on his/her birthday.
I am Using VB.NET 2008
I have the code that sends email already, so that part is taken care.
How do I go about checking the records in the database to see if the Employee birthday = today and if it is how to generate the email automatically?
I don't want to run a service, I like this to happens when the application is launched in the morning.
Once the mail has been sent, I like to mark that record with a EmailSent=True.
I am sure this must have been asked before, or is there any other way of doing this? A better or more efficient way perhaps
Thanks
Ed