Well if the app is going to be running all the time, you will need a timer
set up to check the date every now and then. Otherwise, if it is just run
once/day then check it when it is launched.
For each person that gets an email when the dates match, create an instance
of SmtpMail with the right server and then use SmtpMail.Send(f rom, to,
subject, body). All those are strings. The .NET Framework handles all the
SMTP server code from there.
"Gene Ariani" <ka*****@comcas t.net> wrote in message
news:HL******** ************@co mcast.com...
I have been asked to create an application to automatically send emails
when a date is reached. These dates are in a table in a database.
How would I approach this since I have never done something like this.
Any direction is appreciated it.
Thanks
Gene